Title | |
---|---|
Who is father of C Language?Who is father of C Language?
The answer is:
B. dennis ritchie
|
|
C Language developed at _____?C Language developed at _____?
The answer is:
A. at & t's bell laboratories of usa in 1972
|
|
For 16-bit compiler allowable range for integer constants is ______ ?For 16-bit compiler allowable range for integer constants is ______ ?
The answer is:
C. -32768 to 32767
|
|
C programs are converted into machine language with the help ofC programs are converted into machine language with the help of
The answer is:
B. B. a compiler
|
|
A C variable cannot start withA C variable cannot start with
The answer is:
D. D. both (b) and (c)
|
|
Which of the following is allowed in a C Arithmetic instructionWhich of the following is allowed in a C Arithmetic instruction
The answer is:
C. C. ()
|
|
What is right way to Initialization array?What is right way to Initialization array?
The answer is:
A. int num[6] = { 2, 4, 12, 5, 45, 5 } ;
|
|
An array elements are always stored in _________ memory locationsAn array elements are always stored in _________ memory locations
The answer is:
A. sequential
|
|
What is the right way to access value of structure variable book{ price, page }?What is the right way to access value of structure variable book{ price, page }?
The answer is:
A. printf("%d%d", book.price, book.page);
|
|
perror( ) function used to ?perror( ) function used to ?
The answer is:
B. prints the error message specified by the compiler
|
|
Bitwise operators can operate upon?Bitwise operators can operate upon?
The answer is:
D. ints and chars
|
|
What is C Tokens?What is C Tokens?
The answer is:
D. a & b both
|
|
What is Keywords?What is Keywords?
The answer is:
C. keywords have some predefine meanings and these meanings cannot be changed.
|
|
What is constant?What is constant?
The answer is:
A. constants have fixed values that do not change during the execution of a program
|
|
Which is the right way to declare constant in C?Which is the right way to declare constant in C?
The answer is:
D. b & c both
|
|
Which operators are known as Ternary Operator?Which operators are known as Ternary Operator?
The answer is:
B. ?, :
|
|
In switch statement, each case instance value must be _______?In switch statement, each case instance value must be _______?
The answer is:
A. constant
|
|
What is the work of break keyword?What is the work of break keyword?
The answer is:
C. exit from loop or switch statement
|
|
What is function?What is function?
The answer is:
D. all the above
|
|
Which one of the following sentences is true ?Which one of the following sentences is true ?
The answer is:
B. the body of a do ... while loop is executed at least once.
|
MCQs
Views
Best Answers
Points