Choose the correct statement.
A. | The scope of a macro definition need not be the entire program |
B. | The scope of a macro definition extends from the point of definition to the end of the file |
C. | New line is a macro definition delimiter and it may go beyond a line. |
D. | All of the above |
Option: D Explanation : Click on Discuss to view users comments. |
The use of macro in the place of functions
A. | reduces execution time |
B. | increases code size |
C. | increases execution time |
D. | both (a) & (b) |
Option: D Explanation : Use of functions involves storing the current contents and branching to its starting address. These things add to the execution time. On the other hand, macro substitution increases the code size. This is of serious concern, if the macro is used in many places. Click on Discuss to view users comments. |
The process of transforming one bit pattern into another by bit-wise operations is called
A. | masking |
B. | pruning |
C. | biting |
D. | chopping |
Option: A Explanation : Click on Discuss to view users comments. |
How many bits are absolutely necessary to store an ASCII character?
A. | 7 |
B. | 8 |
C. | 16 |
D. | 15 |
Option: A Explanation : Click on Discuss to view users comments. |