Output of C programs | Set 44 (Structure & Union)
Prerequisite: Structure and UnionQUE.1 What is the output of this program? C/C++ Code #include <stdio.h> struct sample { int a = 0; char b = 'A'; float c = 10.5; }; int main() { struct sample s; printf("%d, %c, %f", s.a, s.b, s.c); return 0; } OPTION a) Error b) 0, A, 10.5 c) 0, A, 1