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

Where is volatile variable stored?

1029


How many types of arrays are there in c?

998


Explain the difference between malloc() and calloc() in c?

1007


What is the difference between char array and char pointer?

984


How to explain the final year project as a fresher please answer with sample project

911


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

1088


Does c have class?

1054


What tq means in chat?

1065


What's the right way to use errno?

1090


What is a ternary operator in c?

1060


Explain what is the difference between the expression '++a' and 'a++'?

1155


In which language linux is written?

1170


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1679


What are # preprocessor operator in c?

1046


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1675