Pre-requisite: if-elseThis article focuses on discussing what happens when the print statement is used inside the if-else conditional statement.For example: Consider the below code and predict the output.C  #include   int main(){        if (printf(“I’m Awesome!n”))                  main();          else if (printf(“I’m Not Awesomen”))                  main();}C++  #include using namespace std;  int main(){        if (printf(“I’m Awesome!n”))                  main();          else if (printf(“I’m Not Awesomen”))                  main();    return 0;}Guessing the Expected Output: Most general guess for the […]

Continue Reading