Loading...

C Multiple Choice Questions

Our C questions and answers focuses on all areas of C programming language covering 100+ topics in C

C Fundamentals-1 MCQs

C Fundamentals Page-5


1. A C program is a combination of.?

a) Statements
b) Functions
c) Variables
d) All of the above



2.Single Line Comment // is also called.?

a) C++ Style Comment
b) Java Style Comment
c) PHP Style Comment
d) All the above



3. What is an Identifier in C Language.?

a) Name of a Function or Variable
b) Name of a Macros
c) Name of Structure or Union
d) All the above.



4. An Identifier may contain.?

a) Letters a-z, A-Z in Basic character set. Unicode alphabet characters other languages
b) Underscore _ symbol
c) Numbers 0 to 9. Unicode Numbers in other languages
d) All the above



5. What is the number of characters used to distinguish Identifier or Names of Functions and Global variables.?

a) 31
b) 32
c) 30
d) 29.



6. What is length of an Identifier that is unique for Non Global Variables and Non Function Names.?

a) 32
b) 63
c) 64
d) 56b



7. C Programs are used in .?

a) Any Electronic device which works on some logic and Operating System.
b) Washing machine
c) Fridge, Microwave Ovens
d) All the above.



8. Number of Keywords present in C Language are .?

a) 32
b) 33
c) 63
d) 64



9. Each statement in a C program should end with.?

a) Semicolon ;
b) Colon :
c) Period . (dot symbol)
d) None of the these.



10. Dennis Was Author of Famous Programming Book _________ .

a) C Programming and Techniques
b) Thinking in C
c) The C Programming Language
d) Learn C Step By Step



- Related Topics