Home
Subscribe TechModgy to learn about new technologies!

The output of the following code is:
void change (char *k) 
{
k="Hello";
return;
}
main()
{
char *ch = "World";;
change(ch);
printf("%s", ch);
}

A. Hello

B. World

C. Compilation error

D. Hello World

Please do not use chat terms. Example: avoid using "grt" instead of "great".