void main()
{ int x=4,y,z:
y=--x;
z=x--;
}
what is the output

Answer Posted / narayanan

Y=3 \ initially Y=0 then Y = --x Decremented then assigning value so Y=3

Z=3 \z = x-- assigning x value to z first then Decremented so Z=3

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

c program to compare the initial portions of the two strings and return the matched portion if matches, otherwise return the empty string.

1738


difference between pvc and gi pipes?

1412


why does find out power factor?

1444


I am looking for bank exam coaching in Hyderabad. Can anybody tell me which is the best institute for BANK and which branch is good giving me branch details.

1786


What are the most asked questions for learner operators in the interview for eskom?

1499






how to prepare for bcil bitp

1705


richman keeps in pocket poor man throws and kids eat me am an english word P-U--E--L

2056


what is monetary policy

1936


Book for preparation of HPCL (CS/IT) .

2186


What is the differents between the Physics & technical Physics

1797


Can some1 please mail me the question papers of iiit hyderabad...my mail id is cenablogspot@gmail.com

1966


could u send me the model papers for drug inspector exam at imrupinder@gmail.com

1802


in vfd why we did not give directac ac supply?

2112


Can some1 please mail me the question papers of iiit hyderabad...my mail id is cenablogspot@gmail.com

2095


weather any body knows how th partiton of sections in rrb is aote 1,genera nowlge 2,intellgince 3,maths 4,english 5,science

1981