C Language – MCQ Question Paper (30 Questions) Online Test Series 5247 July 12, 2026 0% 40 C Language – MCQ Question Paper (30 Questions) Online Test Series 5247C Language – MCQ Question Paper (30 Questions) Select BatchMorningEvening 1 / 30Who is the father of C language? Dennis Ritchie James Gosling Guido van Rossum Bjarne Stroustrup 2 / 30The keyword used to return a value from a function is: exit end break return 3 / 30Which operator is used for modulo division in C? // + % * 4 / 30The default return type of a C function is: void float int char 5 / 30What is the result of 7/2 in C? 3 3.0 3.5 4 6 / 30Which is the correct way to declare an array of 10 integers? array arr[10]; int arr[10]; int[10] arr; int arr; 7 / 30Break statement is used to: End program None Skip current iteration Exit from loop 8 / 30Continue statement is used to: Restart the program Skip current iteration Stop the program Exit the loop 9 / 30The base address of an array is: Address of last element Address of first element Random None 10 / 30Which keyword is used to define a constant? define const constant both a & c 11 / 30Which header file is required for printf() and scanf()? string.h stdio.h conio.h math.h 12 / 30Which parameter passing method does C use? Call by reference Call by value Both None 13 / 30Which of the following is the correct way to declare a pointer? int p; int *p; int &p; pointer p; 14 / 30C language was developed in which year? 1969 1991 1980 1972 15 / 30What is the output of: int a=5;printf(“%d”, ++a); 6 5 Error 4 16 / 30Which of the following is not a C keyword? auto register class static 17 / 30Which of the following is not a looping statement? repeat…until while do…while for 18 / 30What is the result of 7%2 ? 1 2 0 3 19 / 30Switch statement works with which type of expressions? int, char All float, double string 20 / 30Which of the following is a conditional operator? ?: && % || 21 / 30What is the output of printf(“%d”, 5==5); ? Error 0 1 5 22 / 30Which keyword is used to define a constant? both a & c constant const define 23 / 30In C, array indexing starts from: 0 2 -1 1 24 / 30If int a=10; int *p=&a; then *p is: Error 10 NULL Address of a 25 / 30Functions in C can return: Multiple values Address Single value Array 26 / 30What is the keyword used for recursion? repeat function name itself recurse None 27 / 30Which format specifier is used to print an integer? %d %s %c %F 28 / 30What is the size of an int (generally on a 32-bit compiler)? 2 bytes 4 bytes Depends on compiler 8 bytes 29 / 30Which of the following is not a storage class in C? dynamic auto static register 30 / 30Which loop is guaranteed to run at least once? if-else do…while while for Your score is 0% Restart Online Test