Programming in C - Constants, Variables and Data Types

21. The C declaration
int b [100];
reserves ____________ successive memory locations,each large enough to contain single integer.

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 *


22. What is the output of the following 'C' program?
main
{
extern int I;
i = 20;
print("%d",size of (I));
}

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 *


23. What is the output of the following 'C' program?
main()
{
extern int a;
printf("\n%d",a);
}
int a=20;

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 *


24. The value of an automatic variable that is declared but not initialized will be

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 *


25. Choose the correct answer

  • Option : C
  • Explanation :
    The enumerated data types give an opportunity to invent our own data type and define what value the variable of this data type can take.
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 *