edited by
1,504 views

2 Answers

1 votes
1 votes
COMPILER ERROR , Here compiler doesnt found exact type of next, it behaves like recursion
1 votes
1 votes
struct st next;

This should be a pointer to a struct. A Struct object cannot be inside the struct definition. So this compiler error will be detected first. 

 

Answer:

Related questions

2 votes
2 votes
2 answers
1
admin asked Mar 30, 2020
1,027 views
Output of following program#include<stdio.h int main() { int i=5; printf("%d %d %d", i++,i++,i++); return 0; }$7\:6\:5$$5\:6\:7$$7\:7\:7$Compiler Dependent
3 votes
3 votes
1 answer
2
admin asked Mar 30, 2020
1,718 views
Output of following program? #include<stdio.h void dynamic(int s,...) { printf("%d",s); } int main() { dynamic(2,4,6,8); dynamic(3,6,9); return 0; }$2\:3$Compiler Error$4...
4 votes
4 votes
1 answer
3
admin asked Mar 30, 2020
2,029 views
Assume that size of an integer is $32$ bit. What is the output of following ANSI C program? #include<stdio.h struct st { int x; static int y; }; int main() { printf(%d",s...