@Adriksh Try putting it thru the preprocessor to see what the code looks like before compilation. Gcc -E option does this. The line int z = MAX(x, y) + 1; will expand to int z = x > y ? x : y + 1 ; hence result is 11.
@Palak3312 A taster to start....Linux... appreciate the directory structure. command line , man pages, some gentle shell scripting, visual code, a bit of html, version control, a little python, hello world in C, and perhaps on https://t.co/wmw9gnT5A4