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 a sequential access file?
Can math operations be performed on a void pointer?
What are the types of data types and explain?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Is array name a pointer?
What is the scope of static variable in c?
Is c++ based on c?
What is the difference between test design and test case design?
Why do we use pointer to pointer in c?
What is s or c?
How can I find the modification date of a file?
Why we use break in c?
In which language linux is written?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is malloc and calloc?