Question
#include<stdio.h>
int main()
{
struct emp
{
char n[20];
int age;
};
struct emp e1 = {"Dravid" , 23};
struct emp e2 = e1;
if(e1 == e2)
printf("The structure are are equal");
return 0;
}
Point out the error in the program?
#include<stdio.h>
int main()
{
struct emp
{
char n[20];
int age;
};
struct emp e1 = {"Dravid" , 23};
struct emp e2 = e1;
if(e1 == e2)
printf("The structure are are equal");
return 0;
}
Answer: Option B
Was this answer helpful ?
No answer description available for this question.
Was this answer helpful ?
Submit Solution