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

yes, correct answer is 3 3 1

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

With the help of using classes, write a program to add two numbers.

1049


What is use of null pointer in c?

1019


How reliable are floating-point comparisons?

1108


How do we open a binary file in Read/Write mode in C?

1246


Is it better to use a macro or a function?

1171


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3319


Distinguish between actual and formal arguments.

1088


What is void main ()?

1082


How does struct work in c?

1097


Discuss the function of conditional operator, size of operator and comma operator with examples.

1167


What is structure and union in c?

1160


Write a program to swap two numbers without using a temporary variable?

1137


What are two dimensional arrays alternatively called as?

1192


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2343


Write a C program in Fibonacci series.

1098