12345678910



Question 1: What will be the output of the program ?

#include<stdio.h>

int main()
{
char str1[] = "Hello";
char str2[10];
char *t, *s;
s = str1;
t = str2;
while(*t=*s)
*t++ = *s++;
printf("%s ", str2);
return 0;
}

1. Hello
2. HelloHello
3. No output
4. ello