C Fundamental Test 416) What is the correct value returned to the operating system upon successful completion of a program?
The correct option is (a). Explanation: After successful completion of a program, 0 is returned to the operating system. 17) Who is known as the founder of C language?
The correct option is (d). Explanation: The C programming language has been developed by Dennis Ritchie in the year 1972 while working at AT&T Bell Laboratories. 18) The C variables are case insensitive.
The correct option is (b). Explanation: The C variables are case sensitive. This means that variables sal, Sal and SAL would be treated as different variables in C. 19) A character variable can store ___ character(s) at a time.
The correct option is (a). Explanation: A character variable can at a time store only one character. In fact, if we execute the following statements, what gets stored in variable ch is not really the character constant, but the ASCII value of 'A', which is 65. 20) How would you round off a value from 1.66 to 2.0?
The correct option is (b). Explanation: The ceil(1.66) is used for round off a value from 1.66 to 2.0. The ceil() returns upper value of a fractional part and floor() returns lower value. |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India