In C, what should be used to pick between two sets of instructions? for loop do
ID: 3858640 • Letter: I
Question
In C, what should be used to pick between two sets of instructions? for loop do while loop if else if statement if else statement During normal program execution, a true condition is assigned a value of I and a false condition is assigned a value of -1. True False What is the best structure to we to stop a divide-by-zero calculation and quit the program? while for if cannot be done In C, which are not relational operators? - + > != What B wrong with the following if() statement, if anything > if(a==5): printf("The value of a is five "):Explanation / Answer
Answers :
1. if/else statement
2. False
3. cannot be done
4. - and +
5. if(x==5); will terminate its condition here itself, because of semicolon. Printf statement doesn't depend on if statement. If statement doesn't do anything.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.