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 |
Explain output of printf("Hello World"-'A'+'B'); ?
How can I find out if there are characters available for reading?
Why is structure important for a child?
Explain how do you list a file’s date and time?
What is the difference between single charater constant and string constant?
Tell me what is null pointer in c?
How can I manipulate strings of multibyte characters?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
string reverse using recursion
What is the correct code to have following output in c using nested for loop?
Tell me a C program to display the following Output? 1 1 1 1 1 2 2 2 2 3 3 3 4 4 5
Why shouldn’t I start variable names with underscores?