Ques:- What is if else statement?
Asked In :-
FANUC, Vector India, Mistral Solutions, Sion Semiconductors, Volansys, Astra Microwave Products, Mobiveil, Danlaw Technologies India, Renesas Electronics, Lumentum Operations,
Right Answer:
An if-else statement is a control structure in C programming that allows you to execute a block of code based on a condition. If the condition is true, the code inside the "if" block runs; if it's false, the code inside the "else" block runs.
An if-else statement is a control structure in C programming that allows you to execute a block of code based on a condition. If the condition is true, the code inside the "if" block runs; if it's false, the code inside the "else" block runs.