2 votes 2 votes which code is true and what is output? 1. if(a>c){ if(b>c){ S1; } S2; } 2. if(a>c) if( b>c){ S1; } S2; Programming in C programming-in-c programming + – Harikesh Kumar asked Jan 13, 2018 Harikesh Kumar 250 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes if(a>b) { if(b>c) { s1; } else { s2; } } For S2 to be executed. a>b and b<=c Option 2nd. Avdhesh Singh Rana answered Jan 13, 2018 Avdhesh Singh Rana comment Share Follow See 1 comment See all 1 1 comment reply Harikesh Kumar commented Jan 13, 2018 reply Follow Share Thanks bro 0 votes 0 votes Please log in or register to add a comment.