Answer Posted / vijay
ouptput:-
vidya
| Is This Answer Correct ? | 1 Yes | 11 No |
Post New Answer View All Answers
What are keywords c?
What are the advantages and disadvantages of a heap?
What's the best way of making my program efficient?
write a program fibonacci series and palindrome program in c
Once I have used freopen, how can I get the original stdout (or stdin) back?
What are the types of unary operators?
What is the explanation for cyclic nature of data types in c?
Explain is it valid to address one element beyond the end of an array?
What are different types of pointers?
What is memcpy() function?
What is the maximum no. of arguments that can be given in a command line in C.?
Can 'this' pointer by used in the constructor?
In a byte, what is the maximum decimal number that you can accommodate?
Can a function argument have default value?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }