Programming In C MCQs Set-10
This section contains more frequently asked Programming In C Basics Objective Questions Answers in the various University Level and Competitive Examinations.
1. Who invented the C – Programming?
- James Gosling
- Dennis Ritche
- Bjarne Stroustrup’s
- Tim Berners-Lee
✅ Correct Answer: B. Dennis Ritche
2. Where does C language get invented?
- Ritche’s Lab
- AT & T Bell Labs
- Under Oak Tree
- Fringe Labs
✅ Correct Answer: B. AT & T Bell Labs
3. Which symbol terminates a C statement?
- .
- ,
- ;
- }
✅ Correct Answer: C. ;
4. How to comment in C language?
- //Comment
- /* Comment */
- <—Comment—->
- A & B
✅ Correct Answer: B. /* Comment */
5. Which of the following operator takes only integer operands?
- +
- *
- /
- %
✅ Correct Answer: D. %
6. Pick the operator that not associates from the left?
- +
- –
- =
- <
✅ Correct Answer: D. <
7. In a for loop, if the condition is missing, then?
- it is assumed to be present and taken to be false
- it is assumed to be present and taken to be true
- it result in the syntax error
- execution will be terminated abruptly
✅ Correct Answer: D. execution will be terminated abruptly
8. The maximun value that an integer constant can have is ?
- -32767
- 32767
- 1.7014E+38
- -1.7014E+38
✅ Correct Answer: B. 32767
9. A C variable cannot start with ?
- An alphabet
- A number
- A special symbol other than underscore
- Both (2) and (3)
✅ Correct Answer: D. Both (2) and (3)
10. C programs are convrted into the machine language with the help of ?
- An editor
- Compiler
- An operating system
- None of the above
✅ Correct Answer: B. Compiler