Q.1
If integer needs two bytes of storage, then maximum value of an unsigned integer is
Q.2
What is the correct value to return to the operating system upon the successful completion of a program?
Q.3
Standard ANSI C recognizes ______ number of keywords?
Q.4
Which of following is not a valid name for a C variable?
Q.5
Find the output of the following program. void main() { int i=01289; printf("%d", i); }
Q.6
Which is the only function all C programs must contain?
Q.7
Which of the following is not a correct variable type?
Q.8
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);
Q.9
Which one of the following is not a reserved keyword for C?
Q.10
Find the output of the following program.
void main()
{
   int i=065, j=65;
   printf("%d %d", i, j);
}
Q.11
If ASCII value of 'x' is 120, then what is the value of the H, if
H = ('x' – 'w' ) / 3;
Q.12
A C variable cannot start with
Q.13
Which one of the following is not a valid identifier?
Q.14
What is the difference between a declaration and a definition of a variable?
Q.15
What will be printed after execution of the following program code?
main()
{
      printf("\\nab"); 
      printf("\\bsi"); 
      printf("\\rha"); 
}
Q.16
"My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above.
Q.17
short testarray[4][3] = { {1}, {2,3}, {4,5,6}};
printf("%d", sizeof(testarray));
Assuming a short is two bytes long, what will be printed by the above code?
0 h : 0 m : 1 s