what is the output of the following program?
#include<stdio.h>
void main()
{
int x=4,y=3,z;
z=x-- -y;
printf("\n%d %d %d",x,y,z);
}

Answer Posted / vignesh1988i

SORRY YHE OUTPUT WILL BE 3 3 1

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of typedef struct in c?

591


What is New modifiers?

663


What is a nested loop?

643


why do some people write if(0 == x) instead of if(x == 0)?

649


Which is best book for data structures in c?

594






Is c is a high level language?

616


Explain how does flowchart help in writing a program?

623


How do you override a defined macro?

695


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1524


What are enums in c?

655


What functions are used in dynamic memory allocation in c?

591


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

632


Why should I use standard library functions instead of writing my own?

668


What is clrscr in c?

668


How would you obtain the current time and difference between two times?

722