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

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 / vinay.k

yes answer is 3 3 1.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I dynamically allocate arrays?

1104


What are bitwise shift operators in c programming?

1084


Is it cc or c in a letter?

1025


Is array name a pointer?

1030


How do you determine a file’s attributes?

1087


What is the difference between ‘g’ and “g” in C?

4011


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

1133


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1366


What is the use of ?

1042


How do you write a program which produces its own source code as output?

1121


Is Exception handling possible in c language?

2048


What are the primitive data types in c?

1078


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

2099


Mention four important string handling functions in c languages .

1114


What are the different types of C instructions?

1318