Learn C Programming MCQ Questions and Answers on Basics to attend job placement exams, interview questions, college viva and Lab Tests. This paper covers C language invention history, standards and usages. Easily attend Job interview exams after reading these Multiple Choice Questions.
Go through C Theory Notes on Basics before studying questions.
Full name is Dennis MacAlistair Ritchie. He also invented Unix Operating System along with his colleague Ken Thomson.
C is a high level language. Another example is BASIC.
Looks like raw data often in the form of 1's and 0's.
Examples are C and BASIC.
main()
{
scanf("Hello World..");
}
main()
{
printf("Hello World..");
}
main()
{
print("Hello World..");
}
main()
{
scan("Hello World..");
}
C is a procedural language. It is written in a number of steps using statements and functions. Logic is clearly depicted in the program. Procedural language is aslo called Imperative Language. Examples are COBAL, BASIC etc.
C was invented in Bell Laboratories in New Jersey.
B language is successor of BCPL ( Basic Combned Programming Language ). B language was invented by Ken Thomson.
C was invented to develop Unix Operating System to overcome compatibility with different Hardware Platforms.
C language is very efficient in using hardware resources.
| SNO | Topic |
|---|---|
| 1. | MCQs on C Basics 1 |
| 2. | MCQs on C Basics 2 |
| 3. | MCQs on Data Types and Storage Classes 1 |
| 4. | MCQs on Data Types and Storage Classes 2 |
| 5. | MCQs on Data Types and Storage Classes 3 |
| 6. | MCQs on C Arithmetic Operators 1 |
| 7. | MCQs on C Arithmetic Operators 2 |
| 8. | MCQs on C Conditional Operators 1 |
| 9. | MCQs on C Conditional Operators 2 |