#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 / kishore krishnan.s.r

Its actually a doubt
Since ++ has high precidence than && will it not be evaluated first.
then ans will be 1,2,3,0,1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which header file is the null macro defined?

859


4. main() { int c=- -2; printf("c=%d",c); }

1373


How can a number be converted to a string?

611


Is it possible to initialize a variable at the time it was declared?

757


What is c method?

539






What is far pointer in c?

815


What are header files in c?

620


Which of these functions is safer to use : fgets(), gets()? Why?

637


How can I manipulate individual bits?

611


What is build process in c?

647


How can I do serial ("comm") port I/O?

693


what are non standard function in c

1439


Can you apply link and association interchangeably?

682


What is the use of linkage in c language?

619


What is function prototype in c language?

619