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


Please Help Members By Posting Answers For Below Questions

What is a constant and types of constants in c?

598


I have a varargs function which accepts a float parameter?

576


What is break statement?

629


What is echo in c programming?

555


What is string function c?

561






Tell us bitwise shift operators?

592


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); }

910


How many levels of pointers have?

589


What's the difference between constant char *p and char * constant p?

651


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

632


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

2789


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

597


Why is c fast?

601


Why header files are used?

642


Explain heap and queue.

577