Top

Discussion

What is the output of this program?

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

 

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

Answer: B

No answer description available for this question

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

Post your comment