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 / vignesh1988i
the output will be 3 3 0
thank u
| Is This Answer Correct ? | 5 Yes | 18 No |
Post New Answer View All Answers
Where is volatile variable stored?
How many types of arrays are there in c?
Explain the difference between malloc() and calloc() in c?
What is the difference between char array and char pointer?
How to explain the final year project as a fresher please answer with sample project
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
Does c have class?
What tq means in chat?
What's the right way to use errno?
What is a ternary operator in c?
Explain what is the difference between the expression '++a' and 'a++'?
In which language linux is written?
#include
What are # preprocessor operator in c?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +