C - onditional Statements
Which of the following code snippets correctly implements an
if-else statement in C to check if a number is positive?if-else statement in C to check if a number is positive?if (num > 0).{ } are required to group multiple statements or to clearly define the blocks.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions