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 / vignesh1988i
the output will be 3 3 0
thank u
| Is This Answer Correct ? | 5 Yes | 18 No |
Post New Answer View All Answers
What is c token?
How to create struct variables?
Difference between goto, long jmp() and setjmp()?
What is a 'null pointer assignment' error?
What is 'bus error'?
What are the features of c languages?
C program to find all possible outcomes of a dice?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Explain what are preprocessor directives?
Where are some collections of useful code fragments and examples?
swap 2 numbers without using third variable?
Why do we use namespace feature?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Explain what are the standard predefined macros?
Does c have circular shift operators?