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

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

In IF-THEN 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 first set of code after the end of the if statement (IF statement does nothing) 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);}