#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

plz let me know how to become a telecom protocol tester. thank you.

1738


write a c program to find the sum of five entered numbers using an array named number

1617


What do you mean by keywords in c?

621


What are runtime error?

623


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

628






What do you mean by recursion in c?

621


How many header files are in c?

547


Dont ansi function prototypes render lint obsolete?

601


Explain what is the difference between functions getch() and getche()?

601


What are linker error?

612


What is the most efficient way to count the number of bits which are set in an integer?

587


How can I list all of the predefined identifiers?

576


What is pointers in c with example?

575


Which header file is used for clrscr?

571


Explain what does it mean when a pointer is used in an if statement?

613