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 |
Give basis knowledge of web designing ...
What are shell structures used for?
Write a program to exchange two variaables without temp
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Write a program to generate prime factors of a given integer?
Write a program to add the following ¼+2/4+3/4+5/3+6/3+... (Like up to any 12 no.s)
What are data structures in c and how to use them?
What is structure in c definition?
Write a program to print fibonacci series using recursion?
what are advantages of U D F?
print ur name without using any semicolon in c/c++....
21 Answers Bosch, TCS, Wipro,