Top

Discussion

What is the output of this program?

#include 
struct test {
    int x = 0;
    char y = 'A';
};
int main()
{
    struct test t;
    printf("%d, %c", s.x, s.y);
    return 0;
}

 

  • A.Error
  • B.garbage value garbage value
  • C.None of these

Answer: B

No answer description available for this question

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

Post your comment