C Programming Fundarmentals Gk MCQ Questions SET-10 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. Which of the following comments about the ++ operator are correct?

(i) It is a unary operator
(ii) The operand can come before or after the operator
(iii) It cannot be applied to an expression
(iv) All of the above

(iv) All of the above

Q2. Where does the execution of every C program starts?

(i) Every C program starts in the main () function.
(ii) Every C program starts in the begin ( ) function.
(iii) Every C program starts in the initialize ( ) function.
(iv) Every C program starts in the start ( ) function.

(i) Every C program starts in the main () function.

Q3. The activity of removing an error in the program is called _

(i) Entering
(ii) Debugging
(iii) Editing
(iv) Compiling

(ii) Debugging

Q4. The conversion characters for data input means that the data item is

(i) An unsigned decimal integer
(ii) A short integer
(iii) A hexadecimal integer
(iv) A string followed by white space

(ii) A short integer

Q5. Which is not the c keyword:

(i) typedef
(ii) extern
(iii) register
(iv) local

(iv) local

Q6. The C program is highly case sensitive

(i) false
(ii) true
(iii) both (i) and (ii)
(iv) none of the above

(ii) true

Q7. The range of an integer number in the c language is:

(i) -32767 to 32768
(ii) -32768 to 32767
(iii) 0 to 255
(iv) -3.4e38 to 3.8e38

(ii) -32768 to 32767

Q8. C Programming: Queue can be used to implement

(i) Radix sort
(ii) Quick sort
(iii) Recursion
(iv) Depth first search

(i) Radix sort

Q9. In C programming language, which of the following type of operators have the highest precedence

(i) Relational operators
(ii) Equality operators
(iii) Logical operators
(iv) Arithmetic operators

(iv) Arithmetic operators

Q10. Which is true in case of ANSI C?

(i) Comments are represented in /* and */
(ii) Nested comments are not allowed
(iii) Comments are not allowed within a string constant
(iv) Nested comments are allowed

(ii) Nested comments are not allowed

Q11. Which of the following statements are true about break statement?

(i) The break statement terminates current iteration of the loop.
(ii) The break statement can be used with if statement to terminate the execution of its block.
(iii) The break statement can only be used with loop statements and switch statement.
(iv) None of above

(iii) The break statement can only be used with loop statements and switch statement.

Q12. Which of the following header file is required for strcpy() function?

(i) string.h
(ii) strings.h
(iii) files.h
(iv) strcsspy()

(i) string.h

Q13. Uninitialized variable may have:

(i) Garbage value.
(ii) Can not be zero
(iii) Both
(iv) None of these.

(i) Garbage value.

Q14. An escape sequence commences with _.

(i) \ .
(ii) /.
(iii) ?.
(iv) #.

(i) \ .

Q15. Variables in the C program can’t start with ——?

(i) Special characters except for the underscore
(ii) Numbers
(iii) Both (i) and (ii)
(iv) None of the above

(iii) Both (i) and (ii)

Q16. C programming: Which is not a storage class?

(i) Auto
(ii) Struct
(iii) Typedef
(iv) Static

(ii) Struct

Q17. Which of following is not a valid name for a C variable?

(i) General
(ii) general_note
(iii) general note
(iv) all of these

(iii) general note

Q18. C can be used on?

(i) Only MS-Dos operating System
(ii) Only Linux operating system
(iii) Only Windows operating system
(iv) All of the above

(iv) All of the above

Q19. The control structures have _

(i) Only one entry point only one exit point
(ii) Many exit points
(iii) Many entry points
(iv) All of these

(i) Only one entry point only one exit point

Q20. Continue statement is used

(i) to go to the next iteration in a loop
(ii) come out of a loop
(iii) exit and return to the main function
(iv) restarts iterations from the beginning of the loop

(i) to go to the next iteration in a loop

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