41. If integer needs two bytes of storage, then maximum value of an unsigned integer is
42. What is the correct value to return to the operating system upon the successful completion of a program?
43. Which is the only function all C programs must contain?
44. Which of the following is not a correct variable type?
45. What number would be shown on the screen after the following statements of C are executed?
char ch;
int i;
ch = 'G';
i = ch-'A';
printf("%d", i);
char ch;
int i;
ch = 'G';
i = ch-'A';
printf("%d", i);
46. Which of following is not a valid name for a C variable?
47. Find the output of the following program. void main() { int i=01289; printf("%d", i); }
48. Find the output of the following program.
void main()
{
int i=065, j=65;
printf("%d %d", i, j);
}
void main()
{
int i=065, j=65;
printf("%d %d", i, j);
}
49. If ASCII value of 'x' is 120, then what is the value of the H, if
H = ('x' – 'w' ) / 3;
H = ('x' – 'w' ) / 3;
50. What is the difference between a declaration and a definition of a variable?
Read More Section(C Fundamentals)
Each Section contains maximum 100 MCQs question on C Fundamentals. To get more questions visit other sections.