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 c programing
How can I call a function, given its name as a string?
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?
Write code for atoi(x) where x is hexadecimal string.
program to get the remainder and quotant of given two numbers with out using % and / operators?
10 Answers College School Exams Tests, IBM,
Dont ansi function prototypes render lint obsolete?
What is getche() function?
Which type of language is c?
pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )
What is difference between structure and union in c programming?
How can I access a memory located at certain address?
no consistent academics. how to answer the question