Answer Posted / yathish m yadav
*++i
assuming i is declared as pointer
i will be first incremented to point to next location to
which it is pointing. then, the content of location to
which i is newly pointing will be assigned if any variable
is used like: a=*++i;
here since it is not assigned to any variable it will be
dicard.
i++*
if the statement is int a=i++*;
then i is incremented to point to next location of its type
then the content of that location is being copied to a
using *.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is operator promotion?
What is identifier in c?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is wrong with this statement? Myname = 'robin';
Why is c not oop?
How many levels of indirection in pointers can you have in a single declaration?
What is a 'null pointer assignment' error?
How do I read the arrow keys? What about function keys?
Explain how can you avoid including a header more than once?
Describe the header file and its usage in c programming?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is bin sh c?
Explain what is the difference between functions getch() and getche()?
In C language what is a 'dangling pointer'?
What is formal argument?