Home / Rudra Pratap Singh / Programming MCQs Solution

Rudra Pratap Singh updated solution of these Programming language mcqs.

Q. What is the output of the following C program?

Q. Which of the following is not a valid statement?

Q. Which of these functions should I use to round 2.5 to 2?

Q. What is the output of the following C program?

Q. After the operation res = (13/5) -2, what will “res” be equal to?

Q. What is the output of the following C program?

Q. Which expression is valid?

Q. We want to get a decimal number entered from the keyboard, which statement is correct?

Q. What data type can store -15?

Q. What data type can store 15.9635?

Q. Which of the following options are the basic arithmetic operators, i.e. the execution of the desired operation can be done using only this operator?

Q. Which of the following data types will generate an error on the modulo % operation?

Q. Which of the following is not an arithmetic operation?

Q. The program that translates your code from a high-level language to the binary language is called ________

Q. What kind of files can be created with C programming?

Q. Which of the following characters returns the cursor to the left of the screen?

Q. Which of the following characters is used to make a line break on the screen?

Q. Which of the following functions display “Hello, World!” on the screen in console mode?

Q. What is the name of the main function of a C program?

Q. What is a library?

Q. How to write a comment on a single line?

Q. Which character always ends a statement?