C Programming Fundarmentals Gk MCQ Questions SET-2 with Answers free PDF

We have provide here is the list of C Programming Fundarmentals GK MCQs for the preparation competitive exams. Each question has four options followed by the right answer.

MCQ Questions for C Programming Fundarmentals with Answers

Q1. What is use of ‘\r’ in c

(i) used to insert a vertical tab
(ii) used to insert a tab
(iii) places cursor at the end of line
(iv) places cursor at the start of line

(iv) places cursor at the start of line

Q2. What is the next step to Assembling in C program build process?

(i) Preprocessing
(ii) Compiling
(iii) Linking
(iv) None of the above

(iii) Linking

Q3. Union differs from structure in the following way

(i) Only one member can be used at a time.
(ii) Unions cannot have more than two members.
(iii) Union initializes all members as structure.
(iv) All members are used at a time.

(i) Only one member can be used at a time.

Q4. What is the control character for “a single character”.

(i) %c
(ii) %d
(iii) %i
(iv) %p

(i) %c

Q5. Which data type variable uses %i in the C program:

(i) Integer variable
(ii) float variable
(iii) string variable
(iv) All of the above

(i) Integer variable

Q6. What is the result of the expression (23*2) % (int) 5.5?

(i) 2.
(ii) 1.
(iii) 3.
(iv) 0.

(ii) 1.

Q7. Recursive functions are executed in a

(i) LIFO order.
(ii) FIFO order.
(iii) Random order.
(iv) None of the above.

(i) LIFO order.

Q8. Who is the manufacturer of C language:

(i) Herbert Schieldt
(ii) Banjarne Stroups
(iii) Dennis Ritchie
(iv) None of these

(iii) Dennis Ritchie

Q9. The types of linkages in C programming language are:

(i) External linkage and None linkage
(ii) Internal linkage and None linkage
(iii) Internal linkage, External linkage and None linkage
(iv) Internal linkage and External linkage

(iii) Internal linkage, External linkage and None linkage

Q10. Low level language is .?

(i) Human readable like language.
(ii) language with big program size.
(iii) language with small program size.
(iv) Difficult to understand and readability is questionable.

(iv) Difficult to understand and readability is questionable.

Q11. Which of the following below is/are valid C keywords

(i) integer
(ii) int
(iii) null
(iv) none of above

(ii) int

Q12. What is the next step to Preprocessing in C Program build process?

(i) Compiling
(ii) Assembling
(iii) Linking
(iv) None of the above

(i) Compiling

Q13. Preprocessor does not which one of the following?

(i) Macro expansion
(ii) Conditional compilation
(iii) Loading include file
(iv) Type checking

(i) Macro expansion

Q14. What is the answer of: 7%3

(i) 2.5
(ii) 1
(iii) 2
(iv) 3

(ii) 1

Q15. To print the ‘\n’ on the screen, which of the following print statement is right?

(i) printf(“\n’)
(ii) printf(“\n’)
(iii) printf(“\n’)
(iv) echo “\n’

(iii) printf(“\n’)

Q16. What is the value of 10%8?

(i) 8.
(ii) 2.
(iii) 1.
(iv) 0.

(ii) 2.

Q17. Which operation can be applied to pointer variable?

(i) Multiplication
(ii) Division.
(iii) Addition.
(iv) All of the above.

(iii) Addition.

Q18. Which is not the selective control flow statement:

(i) while
(ii) if
(iii) Switch-case
(iv) if-else

(i) while

Q19. Which header file is used to define input/output functions, macros and prototypes?

(i) memory.h
(ii) math.h
(iii) dos.h
(iv) stdio.h

(iv) stdio.h

Q20. C Language is a successor to which language.?

(i) FORTRAN
(ii) D Language
(iii) BASIC
(iv) B Language

(iv) B Language

We hope the given General Knowladge MCQ Questions for C Programming Fundarmentals GK with Answers PDF Free Download will help you. If you have any queries regarding Computer Introduction MCQs Multiple Choice Questions with Answers, drop a comment below and we will get back to you soons.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top