Top

Discussion

What is the output of this C code?

#include 
    struct student
    {
        int no;
        char name[20];
    }
    void main()
    {
        struct student s;
        s.no = 8;
        printf("hello");
    }

 

  • A.Compile time error
  • B.Nothing
  • C.hello
  • D.Varies

Answer: A

No answer description available for this question.

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

Post your comment