We have provide here is the list of C Programming Fundarmentals Gk 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. Select the odd one out with respect to type?
(i) char
(ii) int
(iii) long
(iv) float
(iv) float
Q2. C language was invented in the year?
(i) 1999
(ii) 1978
(iii) 1972
(iv) 1990
(iii) 1972
Q3. Which of the following statements is used to come out of the loop?
(i) Continue
(ii) Break
(iii) Both
(iv) None of the above
(ii) Break
Q4. Which is the correct way to declare a pointer?
(i) int_ptr;
(ii) int *ptr;
(iii) *int ptr;
(iv) None of these.
(ii) int *ptr;
Q5. An identifier in the C program can’t start with ——-?
(i) A digit
(ii) An underscore
(iii) Lower case alphabets
(iv) Upper case alphabets
(i) A digit
Q6. Identifiers are_________.
(i) user-defined names.
(ii) reserved keywords.
(iii) C statements.
(iv) tokens.
(i) user-defined names.
Q7. What is the purpose of fflush() function? (C programming)
(i) flushes all streams and specified streams.
(ii) flushes only specified stream.
(iii) flushes input/output buffer.
(iv) flushes file buffer.
(i) flushes all streams and specified streams.
Q8. Which term is not related to function:
(i) Prototype
(ii) Definition
(iii) Call
(iv) Receive
(iv) Receive
Q9. Which of the following statement is used to free the allocated memory space for a program?
(i) vanish(var-name);
(ii) remove(var-name);
(iii) erase(var-name);
(iv) free(var-name);
(iv) free(var-name);
Q10. BCPL Language is also called..?
(i) C Language
(ii) B Language
(iii) D Language
(iv) None
(iv) None
Q11. Loss in precision occurs for typecasting from____________.
(i) float to double
(ii) char to short
(iii) float to int
(iv) long to float
(iii) float to int
Q12. What are the new features of C11 or ISO IEC 9899 2011 standard?
(i) Type generic Macros, Static Assertions
(ii) Multi Threading, Anonymous Unions, quick_exit
(iii) Bounds Checking Interfaces, Anonymous Strurctures
(iv) All of the above
(iv) All of the above
Q13. a + b = b + c is not a valid arithmetic statement because the left hand side __
(i) constant
(ii) a variable
(iii) an expression
(iv) none of the above
(iii) an expression
Q14. Array subscripts in C always start at
(i) -1
(ii) 1
(iii) 0
(iv) Value provided by the user
(iii) 0
Q15. C language uses the ——- to convert the code into machine language.
(i) Compiler
(ii) Interpreter
(iii) Both compiler and interpreter
(iv) None of the above
(i) Compiler
Q16. An unsigned integer variable contains values________.
(i) greater or equal to zero.
(ii) less than zero.
(iii) only zeros.
(iv) (i) & (ii) both.
(i) greater or equal to zero.
Q17. A transparent DBMS? (Database)
(i) Can not hide sensitive information from users
(ii) Keep its logical structure hidden from users
(iii) Keeps its physical structure hidden from users
(iv) Both (i) and (ii)
(iii) Keeps its physical structure hidden from users
Q18. Array index is always starts from:
(i) 0
(ii) 1
(iii) 2
(iv) 3
(i) 0
Q19. What are the various types of real data type in C language?
(i) long double, short int
(ii) float, long double
(iii) short int, double, long int, float
(iv) float, double, long double
(iv) float, double, long double
Q20. What are the new features of C11 or ISO IEC 9899 2011 standard.?
(i) Type generic Macros, Static Assertions
(ii) Multi Threading, Anonymous Unions, quick_exit
(iii) Bounds Checking Interfaces, Anonymous Strurctures
(iv) All
(iv) All
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.