1. 

What will be the output of the program ?

#include<stdio.h>
#include<string.h>

int main()
{
    char str1[20] = "Hello", str2[20] = " World";
    printf("%s\n", strcpy(str2, strcat(str1, str2)));
    return 0;
}

A. Hello
B. World
C. Hello World
D. WorldHello

2. 

What will be the output of the program ?

#include<stdio.h>

int main()
{
    char p[] = "%d\n";
    p[1] = 'c';
    printf(p, 65);
    return 0;
}

A. A
B. a
C. c
D. 65

3. 

What will be the output of the program ?

#include<stdio.h>

int main()
{
    printf(5+"Good Morning\n");
    return 0;
}

A. Good Morning
B. Good
C. M
D. Morning

4. 

What will be the output of the program ?

#include<stdio.h>
#include<string.h>

int main()
{
    char str[] = "India\0\MAX\0";
    printf("%s\n", str);
    return 0;
}

A. MAX
B. India
C. India MAX
D. India\0MAX

5. 

What will be the output of the program ?

#include<stdio.h>
#include<string.h>

int main()
{
    printf("%d\n", strlen("123456"));
    return 0;
}

A. 6
B. 12
C. 7
D. 2