Strings - Programming

Q1:

What will be the output of the program ?
#include<stdio.h>

int main()
{
    printf("India", "Aptitude\n");
    return 0;
}

A Error

B India Aptitude

C India

D Aptitude

ANS:C - India

printf("India", "Aptitude\n"); It prints "India". Because ,(comma) operator has Left to Right associativity. After printing "India", the statement got terminated.