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