I have the following C program saved in a file named 1.c
#include<stdio.h> void main() { printf("Hello World");}After compiling it, I try to execute it using
./a.out || echo HiI expect to see the following output
Hello WorldBut the output that I get is
Hello WorldHiThe above output seems to be wrong since echo hi should execute only if ./a.out does not get executed successfully. Where am I wrong in interpreting the output?