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 make sure that my program is the only one accessing a file?

1195


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2138


Write a program to show the change in position of a cursor using c

999


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1827


How can I split up a string into whitespace-separated fields?

1006


Write a program to reverse a string.

1027


Describe explain how arrays can be passed to a user defined function

1043


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

1134


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1245


How do I use strcmp?

1027


What are the different types of control structures in programming?

1088


what are the 10 different models of writing an addition program in C language?

1843


What does != Mean in c?

990


What is the difference between fread buffer() and fwrite buffer()?

1110


Explain data types & how many data types supported by c?

1027