What is the difference between if, else if and else in C?

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

6:12 is part which u explained so well . srsly now i have no doubt . thank u

ayushverma
Автор

You are the very very best, good luck and bless you❤

ronaldsethoga
Автор

I dont understand why 'if' and 'else if' would make a difference in your code, since both just check if something is true (ands runs it) or false (and doesnt run it)... My code was working weird until I changed all my if blocks (except the first if) to else if blocks, then it worked correctly. But I don't understand why. Is there a logical explanation or is it just how C is built

ricardot
Автор

can we use more than two if and elseif statements

nethajipalani