#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
What are the advantages of c preprocessor?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Does c have an equivalent to pascals with statement?
How do I use strcmp?
What is bubble sort in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Write a program to find factorial of a number using recursive function.
What are the different data types in C?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
What is switch in c?
Do you know what are the properties of union in c?
What is structure in c explain with example?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
What is the difference between a string and an array?
What is difference between structure and union?