C Language Quiz (Set 12) C Language (Set 2) 1 / 10 In C, which header file should be included to work with file input and output functions? 2 / 10 Which operator is used to access the value pointed to by a pointer in C? & -> << * 3 / 10 What is the output of the following C code?\n\n```c\n#include <stdio.h>\nint main() {\n int x = 5;\n printf(\"%d\ x++);\n return 0;\n}``` 5 6 4 undefined 4 / 10 Which data type is used to store a single character in C? char character chr c 5 / 10 What is the purpose of the 'continue' statement in a loop? To end the loop completely. To skip the current iteration and continue to the next one. To pause the loop temporarily. To restart the loop from the beginning. 6 / 10 Which C function is used to compare two strings? strcomp strcompare strcmp comparestr 7 / 10 What is the purpose of the 'do-while' loop in C? To create an infinite loop. To repeat a block of code as long as a condition is true. To iterate over elements of an array. To execute a block of code at least once before checking a condition. 8 / 10 Which operator is used to access the memory address of a variable in C? > & * $ 9 / 10 What is the purpose of the 'break' statement in a loop? To end the loop and continue to the next iteration. To skip the current iteration and continue to the next one. To exit the loop immediately. To pause the loop temporarily. 10 / 10 What is the correct syntax to define a macro in C? #macro MACRO_NAME = value #define MACRO_NAME value MACRO_NAME = value; define MACRO_NAME value; Your score isThe average score is 0% 0% Restart quiz