Sunday, 4 January 2015

Programming Quiz-60


main()
{
  char *a = "Hello ";
  char *b = "World";
  printf("%s", strcpy(a,b));
}

a. “Hello” 

b. “Hello World” 
c. “HelloWorld” 
d. None of the above 

Answer: D

No comments:

Post a Comment