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

Explain is it valid to address one element beyond the end of an array?

1214


Explain the priority queues?

1076


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

5461


Calculate 1*2*3*____*n using recursive function??

2040


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1108


What are the uses of null pointers?

1116


how to introdu5ce my self in serco

2005


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

2325


Which built-in library function can be used to match a patter from the string?

1299


What is the difference between constant pointer and constant variable?

1224


What is structure and union in c?

1147


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

2081


What is main () in c?

1071


Explain a pre-processor and its advantages.

1132


Why do we use int main instead of void main in c?

1150