C Programming Fundarmentals Gk MCQ Questions SET-5 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 length of an Identifier that is unique for Non Global Variables and Non Function Names?

(i) 32
(ii) 63
(iii) 64
(iv) 68

(ii) 63

Q2. Keyword used to create a structured data type is

(i) struc
(ii) struct
((iii) structr
(iv) structure

(ii) struct

Q3. If you don’t initialize a static array, what will be the element set to?

(i) Zero
(ii) A floating-point
(iii) An undetermined value
(iv) None of these.

(i) Zero

Q4. A constant variable is declared in the C program:

(i) Before the main() function
(ii) After the main() function
(iii) Anywhere in a new line of the program
(iv) Only with other declared variables

(iii) Anywhere in a new line of the program

Q5. Which is the incorrect variable name__________.

(i) else.
(ii) name.
(iii) age.
(iv) char.

(i) else.

Q6. C programming: Which of the following is TRUE about argv?

(i) It is an array of character pointers
(ii) It is a pointer to an array of character pointers
(iii) It is an array of strings
(iv) None of above

(i) It is an array of character pointers

Q7. int **ptr; here ptr is:

(i) Pointer
(ii) Pointer to pointer
((iii) Both
(iv) None of these

(ii) Pointer to pointer

Q8. Which of the following is the first operating system developed using C programming language?

(i) Windows
(ii) DOS
((iii) Mac
(iv) UNIX

(iv) UNIX

Q9. An Identifier may contain.?

(i) Letters a-z, A-Z in Basic character set. Unicode alphabet characters other languages
(ii) Underscore _ symbol
(iii) Numbers 0 to 9 Unicode Numbers in other languages
(iv) All the above

(iv) All the above

Q10. %lf is used to display?

(i) float
(ii) long float
(iii) double
(iv) int

(iii) double

Q11. A C program is a combination of

(i) Statements
(ii) Functions
(iii) Variables
(iv) All of the above

(iv) All of the above

Q12. Which of the following operators return a true value only when both the operands are true?

(i) Assignment
(ii) AND
((iii) OR
(iv) NOT

(ii) AND

Q13. A typecast is used to

(i) Define a new data type
(ii) Force a value to be a particular variable type
(iii) Rename an old type
(iv) None of these.

(ii) Force a value to be a particular variable type

Q14. Lint is a/an ——- in the C language.

(i) C compiler
(ii) Interpreter
(iii) Analyzing tool
(iv) Debugger

(iii) Analyzing tool

Q15. The range of character data type is_________.

(i) -128 to 127.
(ii) 0 to 255.
(iii) 0 to 32767.
(iv) 126 to 275.

(i) -128 to 127.

Q16. C programming: Which header file should be included to use functions like malloc() and calloc()?

(i) memory.h
(ii) stdlib.h
(iii) string.h
(iv) dos.h

(ii) stdlib.h

Q17. int *ptr; here ptr can store the address of:

(i) int variable
(ii) float variable
((iii) double variable
(iv) All of above

(i) int variable

Q18. Which of the following is a logical AND operator?

(i) ||
(ii) !
(iii) &&
(iv) None of the above

(iii) &&

Q19. A C program is a combination of.?

(i) Statements
(ii) Functions
(iii) Variables
(iv) All of the above

(i) Statements

Q20. What will be the data type of the result of the following operation? (float)a * (int)b / (long)c * (double)d

(i) int
(ii) long
(iii) float
(iv) double

(iv) double

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