Answer Posted / guest
predfined
| Is This Answer Correct ? | 5 Yes | 10 No |
Post New Answer View All Answers
What do you mean by dynamic memory allocation in c? What functions are used?
What is modeling?
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); }
Are negative numbers true in c?
What is modifier & how many types of modifiers available in c?
Why do we need volatile in c?
What is static memory allocation? Explain
What is the difference between typedef and #define?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What is #include called?
Why does this code crash?
How can I discover how many arguments a function was actually called with?
What will the preprocessor do for a program?
What happens if you free a pointer twice?
Is stack a keyword in c?