C online test, online practice test, exam, quiz

C Online Test

The purpose of this online test is to help you evaluate your C knowledge yourself. These Multiple Choice Questions (MCQs) on C will prepare you for technical round of job interview, written test and many certification exams.

The test contains 42 questions and there is no time limit. You will get 1 point for each correct answer. You will get your online test score after finishing the complete test.
(Total 42 questions)        (Time spent 0:0)

1. What is the output of the following code?

# define i 20
main()
{
printf("%d..",i);
fun();
printf("%d",i);
}
void fun()
{
#undef i
#define i 30
}




   View Test Answer
Advertisement