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 short int in C programming?
(i) Basic datatype of C
(ii) Qualifier
(iii) short is the qualifier and int is the basic datatype
(iv) All of the mentioned
(iii) short is the qualifier and int is the basic datatype
Q2. What is the inital value of extern storage class specifier?
(i) 0
(ii) Null
(iii) Garbage
(iv) Infinite
(i) 0
Q3. A bit field is of type
(i) double
(ii) float
(iii) int
(iv) all of the above
(iii) int
Q4. In C, a Union is
(i) memory location
(ii) memory store
(iii) memory screen
(iv) None of these
(ii) memory store
Q5. If n = 4.45, then how will you roundup this value that results in 5?
(i) By using ceil(4.45)
(ii) By using floor(4.45)
(iii) By using roundup(4.45)
(iv) By using roundto(4.45)
(i) By using ceil(4.45)
Q6. A short integer variable occupies memory_________.
(i) 2 bytes.
(ii) 4 bytes.
(iii) 1 byte.
(iv) 8 bytes.
(i) 2 bytes.
Q7. Which of the following operation can be applied to pointer variable?
(i) Multiplication
(ii) Division.
(iii) Addition.
(iv) All of the above.
(iii) Addition.
Q8. A function can return only __
(i) Single value
(ii) Two Values.
(iii) Many values.
(iv) None of these
(i) Single value
Q9. A character variable can store only___________.
(i) 1 character.
(ii) 20 characters.
(iii) 254 characters.
(iv) 265 characters.
(i) 1 character.
Q10. A character variable can store _ character(s) at a time.
(i) 1
(ii) 2
(iii) 0
(iv) NULL
(i) 1
Q11. Find an integer constant.
(i) 3.145
(ii) 34
(iii) “125”
(iv) None of the above
(ii) 34
Q12. Which of the following is a User-defined data type?
(i) typedef int Boolean;
(ii) ypedef enum {Mon, Tue, Wed, Thu, Fri} Workdays;
(iii) struct {char name[10], int age};
(iv) All of the mentioned
(iv) All of the mentioned
Q13. What is the scope of extern class specifier?
(i) Within block
(ii) Within Program
(iii) Global Multiple files
(iv) None of the above
(iii) Global Multiple files
Q14. Which of the following is a clause in the for loop structure?
(i) Assign
(ii) Alter
(iii) Logic
(iv) All the above
(iv) All the above
Q15. A Link is
(i) a compiler
(ii) an active debugger
(iii) a C interpreter
(iv) an analyzing tool in C
(iv) an analyzing tool in C
Q16. char *name= “India”; strupr(name); puts(name); Output of this program is:
(i) India
(ii) india
(iii) INDIA
(iv) iNDIA
(iii) INDIA
Q17. An interpreter reads the source code of a program__________.
(i) One line at a time.
(ii) Two lines at a time.
(iii) complete program in one stroke.
(iv) complete program in two strokes.
(i) One line at a time.
Q18. Every C program always required ———?
(i) A function
(ii) An input
(iii) An output
(iv) None of them
(i) A function
Q19. What is keywords in c?
(i) keywords have predefined meanings and user can change its value at compile time.
(ii) keywords have predefined meanings and cannot be changed.
(iii) There is no predefined value of keywords. User provides these values at runtime only.
(iv) None of the above.
(ii) keywords have predefined meanings and cannot be changed.
Q20. What are the types of Constants in C Language.?
(i) Primary Constants
(ii) Secondary Constants
(iii) Basic Constants and Advanced Constants
(iv) Primary Constants and Secondary Constants
(iv) Primary Constants and Secondary Constants
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.