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 / sudarshan
4 3 1
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How many parameters should a function have?
Explain how does flowchart help in writing a program?
what do you mean by enumeration constant?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
Is it possible to have a function as a parameter in another function?
I heard that you have to include stdio.h before calling printf. Why?
What is fflush() function?
Can we add pointers together?
What are c identifiers?
How to throw some light on the b tree?
Why flag is used in c?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Explain built-in function?
What is pointers in c with example?
What is extern c used for?