Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; ..

Answer / sundeep

a.p=p+x;
q=q+y

Is This Answer Correct ?    55 Yes 5 No

how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; ..

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

how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; ..

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

how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; ..

Answer / venkat

b.p=p+xq=q+y

Is This Answer Correct ?    3 Yes 21 No

Post New Answer

More C Interview Questions

What are actual arguments?

0 Answers  


Who invented b language?

0 Answers  


What is typeof in c?

0 Answers  


What is the difference between malloc() and calloc()?

3 Answers  


How to convert decimal to binary in C using recursion??

4 Answers   HP, IBM,


what is the size of an integer variable?

4 Answers  


what do you mean by inline function in C?

0 Answers   IBS, TCS,


What is function in c with example?

0 Answers  


How does normalization of huge pointer works?

0 Answers  


What's the difference between DELETE TABLE and TRUNCATE TABLE commands?

2 Answers   CTC,


Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)

1 Answers   NetApp, PTU, Wipro,


What are c preprocessors?

0 Answers  


Categories