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

how to find the size of the data type like int,float without using the sizeof operator?

13 Answers  


What are header files and explain what are its uses in c programming?

0 Answers  


struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]

3 Answers  


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

0 Answers  


Explain how can I open a file so that other programs can update it at the same time?

0 Answers  






1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.

4 Answers   Ignou, TCS,


what are the various memory handling mechanisms in C ?

4 Answers   HP,


I have an array of 100 elements, each of which is a random integer. I want to know which of the elements: a) are multiples of 2 b) are multiples of 2 AND 5 c) have a remainder of 3 when divided by 7

1 Answers  


find largest element in array w/o using sorting techniques.

3 Answers   Zycus Infotech,


Once I have used freopen, how can I get the original stdout (or stdin) back?

0 Answers  


What is the purpose of sprintf() function?

0 Answers  


What library is sizeof in c?

0 Answers  


Categories