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

the output will be 3 3 0


thank u

Is This Answer Correct ?    5 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of sprintf?

622


What are near, far and huge pointers?

648


What was noalias and what ever happened to it?

592


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

656


What are predefined functions in c?

568






What are different types of variables in c?

571


How can I run c program?

689


What are the applications of c language?

626


What are the parts of c program?

636


Explain high-order bytes.

676


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15049


Explain two-dimensional array.

631


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

631


Explain how do you search data in a data file using random access method?

698


What is the difference between declaring a variable and defining a variable?

724