Top

Discussion

#include 
struct st 
{ 
    int x; 
    struct st next; 
}; 
   
int main() 
{ 
    struct st temp; 
    temp.x = 10; 
    temp.next = temp; 
    printf("%d", temp.next.x); 
    return 0; 
}

 

  • A.Compiler Error
  • B.10
  • C.Runtime Error
  • D.Garbage Value

Answer: A

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment