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

how to resize the components?

1829


plz send me bhel paper....

1769


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

1804


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

2059


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.

1788






Design the test cases for Boundary Value analysis of the following. Consider a program that prompts the user to input three numbers (say x, y, z) and the data type for input parameters ensures that these will be integers greater than 0 and less than or equal to 100. The program should then output the numbers in ascending order.

1525


Book for preparation of HPCL (CS/IT) .

2188


what will the output of this program. sint a=10,b; b=a++ + ++a; printf("%d,%d,%d,%d",b,a++,a,++a)

1097


22. A solution of 1% (w/v) starch at pH 6.7 is digested by 15 μg of β‐amylase (mol wt 152,000). The rate of maltose (mol wt = 342) had a maximal initial velocity of 8.5 mg formed per min. The turnover number is

5971


why the uncontrolled rectifiers are converting fixed ac to fixed dc only why not it is converting variable dc

1419


sir can you send me previous question paper of jsplGET entrance test

1909


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

1742


can i have the model papers for gate along with answers on my email id krish231191@gmail.com please???

1829


why does find out power factor?

1444


Why voltage drops in star connected motor And how IL=ph

1320