[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Structures, Unions, Enums - Discussion

Home > C Programming > Structures, Unions, Enums > MCQs Questions Discussion

12 / 43

What is the output of the following 'C' program?

#include<stdio.h>
void main()
{
struct emp
{
char name [20];
int age;
float sal;
};
struct emp e = {"Tiger"};
printf("\n%d %f", e.age, e.sal);
}

AError

B0

CGarbage values

D1 0.000000

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!