what is difference between ++(*p) and (*p)++
Answer Posted / kalai
++(*p)-->pre-increment.
(*p)++-->post-increment.
Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What is a constant and types of constants in c?
I have a varargs function which accepts a float parameter?
What is break statement?
What is echo in c programming?
What is string function c?
Tell us bitwise shift operators?
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); }
How many levels of pointers have?
What's the difference between constant char *p and char * constant p?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Why is c fast?
Why header files are used?
Explain heap and queue.