What is the Difference between Class and Struct?
Answer Posted / wfwre
Class elements are accessed using the provided methods.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is #line?
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); }
What does %p mean c?
What are header files in c programming?
Do pointers store the address of value or the actual value of a variable?
What is wrong in this statement? scanf(ā%dā,whatnumber);
Why is c called c not d or e?
Can you please explain the difference between exit() and _exit() function?
How can I automatically locate a programs configuration files in the same directory as the executable?
Can you apply link and association interchangeably?
What is scope of variable in c?
write a program to print largest number of each row of a 2D array
What is function what are the types of function?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Is there a way to compare two structure variables?