22226 | 22218 | C Programming Language | Programming in C 20+ MCQ Bank | E&TC / CO/IT |


Hello Students, Welcome to Mypractically.So, today in this post I give you some mcq of C Programming Language / Programming in C
Subject Code - 22226/22218. This post is very benificial for Electronic, or Computer/IT students.Here, we design mcq for practice purpose only.So, I requested to students this mcq is not 100% sure to come in exam.

I give you 20+ mcq bank in this post.So, I highly recommend to you to try and read this all mcq more than 2-3 times.

Subject - C Programming Language / Programming in C
Subject Code - 22226/22218
Branch - Electronic or Computer/IT Engineering
Topic - 20+ MCQ Bank


1. Who is the father of c language.?
1. Jeff Bezos
2. Sundar pichai
3. Satya Nadella
4. Dennis Ritchie

Ans - Dennis Ritchie

2. Which compiler is used to Run C Program ?
1. Turbo C/C++
2. Dev C++
3. VS Code
4. All the Above

Ans - All the Above

3.Which of the following is header file ?
1. <Studio.h>
2. <conic.c>
3. <stdio.h>
4. printf

Ans - <stdio.h>

4. How many Keywords in C Language ?
1. 30
2. 48
3. 50
4. 200

Ans - 48

5. Which of the following function is to display output ?
1. printf
2. display
3. output
4. printedf

Ans - printf

6.How many types of loops in C language ?
1. one
2. ten
3. three
4. five

Ans - three

7. Which of the following extension is used to save C file ?
1. .h
2. .e
3. .c
4. none of the above

Ans - .h

8. Is it important to ( Compile + Run ) a C file to get output ?
1.Yes
2. No
3. Sometimes
4. None of the Above

Ans -  Yes

9. Which of the following functions is user defined ?
1. main
2. scanf
3. printf
4. none

Ans - main

10. 1kb = bytes how many bytes ?
1. 100
2. 1000
3. 10
4. 10000

Ans - 1000

11. Starting of Flowchat with ?
1. Variable Declaration
2. Variable Initialisation
3. Start
4. None of the above

12. Which of the following function is used to take input of user ?
1. printf
2. scanf
3. 1 & 2 both
4. none of the above

Ans - scanf

13. What is maximum value of int data type ?
1. 225
2. 32767
3. 128
4. none of the above

Ans - 32767

14. What is the range of char data type ?
1. 0 to 127
2. 1 to 127
3. -128 to 127
4. -99 to 100

Ans - 0 to 127

15. C Language was developed in which year ?
1. 1789
2. 1973
3. 1991
4. 1955

Ans - 1991

16. Which is data type for format identifier %c ?
1. int
2. char
3. float
4. none of the above

Ans - char

17. Which is data type for format identifier %d ?
1. int
2. char
3. float
4. none of the above

Ans - int

18. Which is data type for format identifier %f ?
1. int
2. char
3. float
4. none of the above

Ans - float

19. If return 0; not add in C program, then ?
1. Error
2. Compile Error
3. Both 1 & 2
4. None of the above

Ans - None of the above

20. Which of the following is most popular language ?
1.C++
2. C
3. Python
4. Java

Ans - C


Thank You Very Much for Visiting mypractically.I hope this post is very helpful for you.I suggest you to share this mcq with your friends,groups,etc.In next post, I will try to make another mcq for your exam preparation.Once again Thank You Very Much Students.

1 Comments

Previous Post Next Post