#include<stdio.h>
int main()
{ int i=0,j=1,k=2,m,n=0;
m=i++&&j++&&k++||n++;
printf("%d,%d,%d,%d,%d",i,j,k,m,n);
}
Answer Posted / deepshree sinha
i=1,j=2,k=3,m=0,n=1
| Is This Answer Correct ? | 7 Yes | 11 No |
Post New Answer View All Answers
How would you obtain the current time and difference between two times?
writ a program to compare using strcmp VIVA and viva with its output.
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Explain what is the difference between a string and an array?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Under what circumstances does a name clash occur?
Write a program of prime number using recursion.
What is scope of variable in c?
Can a variable be both constant and volatile?
What are c header files?
How can I prevent another program from modifying part of a file that I am modifying?
What is cohesion and coupling in c?
Subtract Two Number Without Using Subtraction Operator
State two uses of pointers in C?
differentiate built-in functions and user – defined functions.