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 / kartik

hi friends upto me....

X=4
Y=3
Z=0

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many levels of pointers have?

595


Explain what is dynamic data structure?

648


What is the use of in c?

580


What are the main characteristics of c language describe the structure of ac program?

614


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

733






What is the meaning of 2d in c?

613


write a c program for swapping two strings using pointer

2094


Write the Program to reverse a string using pointers.

618


How do you define a string?

658


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

635


What are enumerated types?

656


Explain pointers in c programming?

636


difference between native and cross compilers

1672


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1844


Write a program to print "hello world" without using a semicolon?

597