Top

Discussion

What is the output of this program?

#include 
void main()
{
  struct number
  {
    int no;
    char name[20];
  };
  struct number s;
  s.no = 50;
  printf("%d", s.no);
}

 

  • A.Nothing
  • B.Compile time error
  • C.Junk
  • D.50

Answer: D

No answer description available for this question

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

Post your comment