Home / Monu Rathod / Programming Language MCQs
Total questions: 24
Q. What will be the output of the following C code?
Q. How many times i value is checked in the following C program?
Q. Comment on the following C statement.
Q. What will be the output of the following C code snippet?
Q. What will be the value of the following assignment expression?
Q. What will be the output of the following C function?
Q. What will be the final values of i and j in the following C code?
Q. What will be the output of the following C code considering the size of a short int is 2, char is 1 and int is 4 bytes?
Q. What is the difference between the following 2 C codes?
Q. What will be the output of the following C code? (Initial values: p= 10, q = 12)
Q. When double is converted to float, then the value is?
Q. function tolower(c) defined in library <ctype.h> works for
Q. What will be the output of the following C code considering the size of short int is 2, char is 1 and int is 4 bytes?
Q. Which type of conversion is NOT accepted?
Q. What will be the data type of the result of the following operation?
Q. Which of the following type-casting have chances for wrap around?
Q. Which of the following typecasting is accepted by C?
Q. When do you need to use type-conversions?
Q. How many digits are present after decimal in float value?
Q. Which among the following is never possible as an output for float?