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 / m.kirthika
given z=x-- -y
therefore x--=4-1=3;
and given y=3;
so z =3-3=0;
but x doesn't change its value.
so the correct answer is 430
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is switch in c?
What is difference between scanf and gets?
Not all reserved words are written in lowercase. TRUE or FALSE?
Can a variable be both static and volatile in c?
what are the different storage classes in c?
What are the features of the c language?
In which language linux is written?
What does %2f mean in c?
i want to know the procedure of qualcomm for getting a job through offcampus
Define the scope of static variables.
Which is the best website to learn c programming?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
How can I manipulate individual bits?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Who developed c language and when?