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 |
Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.
12 Answers MIT, TCS,
what is c programing
Reverse a string word by word??
write a c program to change only the 3rd bit of the particular number such that other bits are not affected.. if bitnum=10(say.. it can be any no..
Why & is used in scanf in c?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
what is use#in c
what is the difference between auto and static keywords
1 Answers cDot, College School Exams Tests, TCS,
what is pointer?
write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.
What are the types of macro formats?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above