0 votes 0 votes closed with the note: got correct answer int main() { int a=2,b=2,c=2; printf("%d",a==b==c); return 0; } what is the output??? and what will be done during execution can anyone explain this……... Programming in C output programming-in-c strings + – shiva0 asked Jan 19, 2019 • closed Jan 19, 2019 by shiva0 shiva0 454 views comment Share Follow See all 3 Comments See all 3 3 Comments reply BASANT KUMAR commented Jan 19, 2019 reply Follow Share it will print 0 bcoz == is comparison operator it will give either 0 or 1 .a==b(true) will give 1 after that 1==c (false)give 0 bcoz it is false so 0 is output. 1 votes 1 votes shiva0 commented Jan 19, 2019 reply Follow Share thank you....! 0 votes 0 votes Mk Utkarsh commented Jan 19, 2019 reply Follow Share shiva0 close the question if your doubt is resolved 0 votes 0 votes Please log in or register to add a comment.