OCJP

Quiz for C Programming


Results

#1. clrscr() is defined in …. header file

#2. Which of following is incorrect as variable name?

#3. What will be the output of for(i=10;i<=13;i++); printf("%d ",i); ? For loop with ;

As For loop contains ; after for loop );, so it is called silent loop, it will execute without next statement. Means printf(“%d “,i) will execute single time after loop condition is false. And there value is 14

#4. What is correct format of array in C?

finish

× How can I help you?