0 of 20 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 20 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
2. _______ many types of errors occurs in c
3. Different types of errors ______
4. Errors that occur when you violate the rules of writing C/C++ syntax are known as _______
5. Syntax error occurs due to ________
6. What is run time error
7. What is the output of bellow code
int main()
{
int i = 0;
for(i = 0; i < 3; i++);
{
printf(“loop “);
continue;
}
getchar();
return 0;
}
8. _________error occurs when the statements written in the program are not meaningful to the compiler
9. What is error in bellow code
#include<stdio.h>
void main()
{
int x = 10;
int y = 15;
printf(“%d”, (x))
}
10. Which error occurs at execution time?
11. Runtime error is hard to find
12. What is output of bellow code
#include<stdio.h>
void main()
{
int n = 9, div = 0;
div = n/0;
printf(“resut = %d”, div);
}
13. What is link error
14. What is output of bellow code
void main()
{
int a, b, c;
a + b = c;
}
15. Find output for bellow code
#include<stdio.h>
void Main()
{
int a = 10;
printf(“%d”, a);
}
16. What are the syntax error
17. Predict the output for bellow code?
#include<stdio.h>
main()
{
char ch;
FILE *fp;
fp=fopen(“ram.txt”,”r”);
while((ch=fgetc(fp))!=EOF)
printf(“%c\n”,ch);
}
18. #include<stdio.h>
main()
{
char ch=”ravi”;
printf(“%c\n”,ch);
}
19 #include<stdio.h>
main()
{
char ch[5]=”ravi:”;
printf(“%s\n”,ch);
}
20 _________ returns a pointer to the textual representation of the current errno value.