Void main(){struct a{char ch[10];char *str;};struct a s1={"Hyderabad","Bangalore"};printf("n%c%c",s1.ch[0],*s1.str);printf("n%s%s",s1.ch,s1.str);getch();}

HB, HyderabadBangalore

This question is related to Oracle Interview

Showing Answers 1 - 1 of 1 Answers

lakshminarsu

  • Apr 13th, 2006
 

output of the above program:

nHBnHyderabadBangalore

  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