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 / poorna
Ans:3 3 1
bcoz
z=4-- -3; z=4-3;
z=1;
and x=3
there fore answer is 3 3 1
| Is This Answer Correct ? | 42 Yes | 5 No |
Post New Answer View All Answers
What is string function in c?
What is p in text message?
How to compare array with pointer in c?
what is the difference between class and unio?
How do you do dynamic memory allocation in C applications?
What is difference between static and global variable in c?
Is main is user defined function?
Explain the red-black trees?
What is extern storage class in c?
pierrot's divisor program using c or c++ code
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is the use of a conditional inclusion statement in C?
What is a pointer in c?
What are the keywords in c?
Is anything faster than c?