Can we replace the struct function in tree syntax with a union?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?

8 Answers   Wipro,


Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program

19 Answers   CTS, HCL, TCS,


main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }

1 Answers  


Is c pass by value or reference?

0 Answers  


How the c program is executed?

0 Answers  






write a programe to find the factorial of given number using recursion

3 Answers  


what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175

5 Answers   Wipro,


How is a macro different from a function?

0 Answers   Tech Mahindra,


Can we compile a program without main() function?

0 Answers  


What does the c in ctime mean?

0 Answers  


write a program in c language to print your bio-data on the screen by using functions.

0 Answers  


What are the 4 types of programming language?

0 Answers  


Categories