Programming in C - Constants, Variables and Data Types

11. C programming language provides operations which deal directly with objects such as

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 *


12. C programming language by itself provides

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 *


13. The variables which can be accessed by all modules in a program are 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 *


14. The rule for implicit type conversion in 'C' is

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 *


15. Consider the following statement
#define hypotenuse (a, b) sqrt (a*a + b*b);
The macro-call hypotenuse (a + 2, b + 3);

  • Option : D
  • Explanation :
    A macro is defined with, hypotenuse (a, b) sqrt (a*a+b*b);
    call hypotenuse(a+2,b+3);
    hypotenuse = sqrt (a+2*a+2 + b+3*b+3)
    = sqrt (a + 2a + 2 + b + 3b + 3)
    = sqrt (3a + 4b + 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 *