Q:
What will be output of following c code?
void main()
{
struct india
{
char c;
float d;
};
struct world
{
int a[3];
char b;
struct india orissa;
};
struct world st ={{1,2,3},'P','q',1.4};
clrscr();
printf("%dt%ct%ct%f",st.a[1],st.b,st.orissa.c,st.orissa.d);
getch();
}
View answer
Workspace
Report Error
Discuss