how does the C compiler interpret the following two statements
p=p+x;
q=q+y;
a.p=p+x;
q=q+y
b.p=p+xq=q+y
c.p=p+xq;
q=q+y
d.p=p+x/q=q+y
Answers were Sorted based on User's Feedback
Answer / bibaswan.guha
Venkat can you please explain why the behaviour is going to
be like this (what you have mentioned) ?
Because the ";" should be signifying the termination for
the first line.
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / santhosh
all answers are wrong because
suppose for example can u give like i=i+1;
it it interprets as i+=1
so here it interprets as p+=x;
q+=;
Is This Answer Correct ? | 7 Yes | 7 No |
What is the use of typedef in structure in c?
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
when user give a number it multiply with 9 without useing '+' and '*' oprator
main() { printf("hello%d",print("QUARK test?")); }
Can we access array using pointer in c language?
DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?
what is the difference between normal variables and pointer variables..............
15 Answers HP, Infosys, Satyam, Vivekanand Education Society,
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
What is class and object in c?
helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe
Why is struct padding needed?