1.

What will be the output of the code snippet given below?
#include <studio.h>
int main ()
{
struct book
{
char bookname[20];
int totalpages;
float price;
};
struct book b = {0};
printf(("%d%f n", b.totalpages, b.price);
return 0;
}

A. 0 0.000000
B. Garbage values
C. Erroe
D. None of the above
Answer» B. Garbage values


Discussion

No Comment Found

Related MCQs