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 line in c preprocessor?
What is the value of h?
Where in memory are my variables stored?
How can I read data from data files with particular formats?
What is c basic?
What are the types of assignment statements?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Can we access the array using a pointer in c language?
How many bytes is a struct in c?
What is the main difference between calloc () and malloc ()?
Explain indirection?
What are called c variables?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is static and auto variables in c?