Question 1 of 25
Hints left: 3
Q1
If integer needs two bytes of storage, then maximum value of an unsigned integer is
Q2
Which of the following is not a correct variable type?
Q3
Who is father of C Language?
Q4
Find the output of the following program. void main() { int i=065, j=65; printf("%d %d", i, j); }
Q5
What will be printed after execution of the following program code? main() { printf("\\nab"); printf("\\bsi"); printf("\\rha"); }
Q6
What will be the output of the following C code? #include <stdio.h> void main() { int x = 97; char y = x; printf("%c\n", y); }
Q7
Which of following is not a valid name for a C variable?
Q8
Which one of the following is not a reserved keyword for C?
Q9
For 16-bit compiler allowable range for integer constants is ________?
Q10
Standard ANSI C recognizes ______ number of keywords?
Q11
Which one of the following is not a valid identifier?
Q12
Find the output of the following program. void main() { int i=01289; printf("%d", i); }
Q13
A C variable cannot start with
Q14
"My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above.
Q15
C Language developed at _________?
Q16
What is the correct value to return to the operating system upon the successful completion of a program?
Q17
C was primarily developed as
Q18
Will the following C code compile without any error? #include <stdio.h> int main() { for (int k = 0; k < 10; k++); return 0; }
Q19
If ASCII value of 'x' is 120, then what is the value of the H, if H = ('x' – 'w' ) / 3;
Q20
C programs are converted into machine language with the help of
Q21
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?
Q22
Which is the only function all C programs must contain?
Q23
Variable name resolution (number of significant characters for the uniqueness of variable) depends on . . . . . . . .
Q24
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);
Q25
What is the difference between a declaration and a definition of a variable?