What will be the output of the program? #include int main() { printf("India", "CURIOUSTAB\n"); return 0; }
Correct Answer: India
Explanation:
printf("India", "CURIOUSTAB\n"); It prints "India". Because ,(comma) operator has Left to Right associativity. After printing "India", the statement got terminated.
Discussion & Comments