Programming in C - Master Assignment

26. Choose the correct statement.

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


27. The use of macro in the place of functions

  • 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.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


28. The process of transforming one bit pattern into another by bit-wise operations is called

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


29. How many bits are absolutely necessary to store an ASCII character?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


30. If 7 bits are used to store a character, the percentage reduction of needed storage will be

  • Option : D
  • Explanation :
    For each 8 bits one can save 1 bit. So percentage reduction will be 1 / 8 * 100 i.e. 12.5%.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *