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);
}
Answers were Sorted based on User's Feedback
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 |
Answer / sudarshan
4 3 -1 this will be the output of this program
| Is This Answer Correct ? | 0 Yes | 17 No |
Is multithreading possible in c?
Why is C language being considered a middle level language?
write a C program : To find out the number of identical words in two files . the file name should be taken as command line argument .
do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's?
What is a ternary operator in c?
How to find the usage of memory in a c program
What are the ways to a null pointer can use in c programming language?
What is the significance of scope resolution operator?
0 Answers Agilent, ZS Associates,
How can you increase the size of a statically allocated array?
Explain what is the benefit of using #define to declare a constant?
main() { int i; printf("%d",((i=1)*i-- - --i*(i=-3)*i++ + ++i)); } ans is 24 bt how?pls tell smbody............
what is the difference between const char *p, char const *p, const char* const p
5 Answers Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,