C Programming Test

Exam Type: C Programming MCQ Skill Test
Questions Type: Multiple Choice Questions
Total Questions: 36
Time Limit: 30 Minutes
Last Update June, 2025

Pass C Programming Exam

75%
Total time

1 minute 2 seconds

Total time

1 correct answers

Total time

6 incorrect answers

Total time

6 not attempted

Start

C Programming Quiz

Question 1 of 36
30:00

Which of the following file modes would mean read + append?

Which header file are methods(or macros) isalpha(), islower() a part of?

Which of the following is not a storage type?

Which of the following sets of conversion statements may result in the loss of data?

Note: Select more than 1 option as correct answer

Which function allocates memory and initializes elements to 0?

Which function will you use to position the file pointer at the beginning of the file?

Which function will convert a string into an integer?

What does the argv[0] represent?

Which of the following is a function for formatting data in memory?

What is the return type of the following function declaration? func(char c);

The declaration int *(*p)[10] indicates:

What happens when the continue keyword is encountered in the 'for loop'?

Which function will convert a string into a double precision quantity?

By which file function you can position the file pointer in accordance with the current position?

Which of the following is/are the correct signature/s of main with command line arguments?

Note: Select more than 1 option as correct answer

Which of the following statements will result in a compilation error?

Note: Select more than 1 option as correct answer

Which is/are the type/s of memory allocation that needs/need the programmer to take care of memory management?

Note: Select more than 1 option as correct answer

What is the function to concatenate two strings?

What will happen if you assign a value to an element of an array the subscript of which exceeds the size of the array?

Which of the following is not a file related function?

Which function will you use to write a formatted output to the file?

What is wrong with the following statement? int func();

The declaration int (*p[5])() means:

What is the return value in case a file is not opened successfully by using fopen()?

Which standard function is used to clear memory allocated by the malloc() function?

Identify the incorrect statement.

Which file header is to be included for file handling in a C program?

In order to read structures/records from a file, which function will you use?

Which of the following is not a relational operator?

Which of the following functions is used to extract formatted input from a file?

Which of the following standard functions is used to close a file?

Which of the following is not a type of operator ?

From which of the following loop or conditional constructs, is

Which function returns the current pointer position within a file?

Which of the following is not a string function?

Which of the following is not a valid mode for opening a file?

C Programming Test Explained

© 2025 Skill Test Answer. All Rights Reserved