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 file in c language?
What’s the special use of UNIONS?
Explain how can I manipulate strings of multibyte characters?
How can I call a function with an argument list built up at run time?
When should a type cast be used?
How can I discover how many arguments a function was actually called with?
What is a sequential access file?
What are the key features in c programming language?
Explain about C function prototype?
What is the meaning of ?
How can I write functions that take a variable number of arguments?
how can I convert a string to a number?
How to write c functions that modify head pointer of a linked list?
Differentiate Source Codes from Object Codes
What is the use of sizeof () in c?