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...


x=y=z=1
z=++x||++y&&++z
Printf("%%%d";xyz)
what is the values of x,y and z?????

Answers were Sorted based on User's Feedback



x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????..

Answer / merugu srinivas

x=2;
y=2;
z=2;

Is This Answer Correct ?    4 Yes 0 No

x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????..

Answer / tatukula

x=2
y=1
z=1

Is This Answer Correct ?    2 Yes 0 No

x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????..

Answer / lordferrous

The answer is
x=2
y=1
z=1

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what is c

1 Answers  


Function shall sum members of given one-dimensional array. However, it should sum only members whose number of ones in the binary representation is higher than defined threshold (e.g. if the threshold is 4, number 255 will be counted and 15 will not) - The array length is arbitrary - output the results to the stdout

0 Answers   XYZ,


Can a program have multiple main() functions?

1 Answers  


all c language question

0 Answers   Wipro,


which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}

4 Answers   TCS,


What is void pointers in c?

0 Answers  


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.

1 Answers  


void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?

2 Answers   TCS,


Write a program of prime number using recursion.

0 Answers   Aspiring Minds,


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

0 Answers  


Explain what is the difference between functions getch() and getche()?

0 Answers  


write a c program to find largest of three numbers using simple if only for one time.

1 Answers  


Categories