1.

Which of the following is the correct output fot the program given below?
#include <studio.h>
int main ()
{
struct emp
{
char name[40];
int age;
float sal;
};
struct emp e = {"Ramu"};
printf ("%d %f n", e.age, e.sal);
return 0;
}

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


Discussion

No Comment Found

Related MCQs