C Programming and Technical Numerical Ability Percentage

What is the similarity between a Structure, Union and
enumeration?

Read Solution (Total 4)

C Other Question

What will be the output of the program ?
#include
#include

int main()
{
printf("%dn", strlen("123456"));
return 0;
}
Options
1) 6
2) 12
3) 7
4) 2
What will be the output of the program ?
#include
#include

int main()
{
char str1[20] = "Hello", str2[20] = " World";
printf("%sn", strcpy(str2, strcat(str1, str2)));
return 0;
}
Options
1) Hello
2) World
3) Hello World
4) WorldHello