what is difference between ++(*p) and (*p)++
Answer Posted / vikram
here,*is the value at address operater;
according to heirarchy of operators,*is given the first
preference and then ++;
++(*p) means first incrementation of value at address of p
takes place and then execution takes place;
on the other hand,(*p)++ means first execution takes place
and then value at address of p is incremented
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is array of structure in c?
What are structure types in C?
write a program to create a sparse matrix using dynamic memory allocation.
What are terms in math?
What is the use of typedef in c?
Can you tell me how to check whether a linked list is circular?
How do I convert a string to all upper or lower case?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
How do you use a 'Local Block'?
What is preprocessor with example?
What is maximum size of array in c?
What is define directive?
Explain the difference between structs and unions in c?