C Programming MCQs Set-6

Hello students welcome to CSE Study247

This page provide you (C Programming MCQs Set-6) – 20 Multiple choice question with Answer that is very useful of Computer science students like preparation of many exam Like ( ISRO,DRDO ,Semester, Interview , Railway & another Government Sector)

C programming is the basic language of programming that help to learn another language. So this MCQ is very useful for you.

C-Programming-MCQ-Multiple-Choice-Questions

C is a general purpose ,high level language that originally developed by Dennis Ritchie to develop the UNIX operating system at Bell labs.

 

Q.101 Header file include ……………functions





ANSWER= (A) Invalid function

 

Q.102 Maximum number of elements in the declaration int[5][8]; is ?





ANSWER= (A) 28

 

Q.103 Pointer operator are ………. and ………..





ANSWER= (A) & and ==

 

Q.104 What is the only function all C programs must contain?





ANSWER= (B) main()

 

Q.105 Which of the following is not a keyword in C language?





ANSWER= (B) Volatile

 

Q.106 When we use the case control structure?





ANSWER= (A) To choose one from multiple alternatives

 

Q.107 What is the built in library function to compare two strings?





ANSWER= (B) Strcmp()

 

Q.108 The pointers can be used to achieve:





ANSWER= (B) Call by reference

 

Q.109 The default return data type in function definition is





ANSWER= (A) void

 

Q.110 C is an example of





ANSWER= (B) structured programming language

 

Q.111 Which one is used as wild card?





ANSWER= (A) !&?

 

Q.112 To print a float value which format specifier can be used?





ANSWER= (A) %f

 

Q.113 Which header file is designed for basic mathematical operations?





ANSWER= (A) math.h

 

Q.114 Which keys combination are used to run a C program?





ANSWER= (B) Ctrl + F9

 

Q.115 One nibble equals to:





ANSWER= (B) 4 bit

 

Q.116 Set of instruction that perform a particular task is called:





ANSWER= (A) Program

 

Q.117 The function _________ is used to determine the length of a string.





ANSWER= (A) Strlen

 

Q.118 _________ is a self-contained block of statement that perform a coherent task of some kind.





ANSWER= (D) Function

 

Q.119 Function “sqrt(d)” is defined in header file.





ANSWER= (D) None

 

Q.120 _______ reads the source code of a program one line at a time.





ANSWER= (A) Interpreter

Related MCQ

SETSMCQs VISIT
11 To 20 CLICK
221 To 40CLICK
341 To 60 CLICK
461 To 80 CLICK
581 To100CLICK
6101 To 120CLICK
7121 To 140CLICK
8141 To 160CLICK
9161 To 180 CLICK
10181 To 200CLICK

1. Official Telegram Click Here
2. Telegram For CSE MCQs Click Here
3. You TubeClick Here