Which of the following part of the IF-THEN-ELSE statement gets executed if the condition is false or NULL?

Which of the following part of the IF-THEN-ELSE statement gets executed if the condition is false or NULL? Correct Answer ELSE

In IF-THEN-ELSE statement, if the given condition evaluates to true, then the block of code inside the if statement will be executed. If the expression evaluates to false, then the block of code inside the else statement will be executed.

Related Questions

Point out the error (if any) in the following C code?
#include #include int main(void){ int* p = NULL; struct S *s = NULL; void(*f)(int, double) = NULL; char *ptr = malloc(15); if (ptr == NULL) printf("Out of memory"); free(ptr);}