Find the output for the following C program#include<stdio.h>void main(void);typedef struct Ntype{int i;char c;long x;} NewType;void main(void){NewType *c;c=(NewType *)malloc(sizeof(NewType));c->i=100;c->c='C';(*c).x=100L;printf("(%d,%c,%4Ld)",c->i,c->c,c->x);}

Showing Answers 1 - 4 of 4 Answers

Jayanthi

  • Jan 4th, 2012
 

(100,C, 100)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions