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 a char in c?
What is pointer & why it is used?
What is the difference between null pointer and wild pointer?
what is the basis for selection of arrays or pointers as data structure in a program
What does. int *x[](); means ?
What is meant by preprocessor in c?
Are there constructors in c?
What does dm mean sexually?
What is use of #include in c?
What functions are in conio h?
What is nested structure?
What is hash table in c?
Difference between constant pointer and pointer to a constant.
how can I convert a string to a number?
Explain argument and its types.