C Programming :: String - Discussion
Home > C Programming > String > MCQs Questions Discussion
11 / 26
What is the output of the following problem ?
#include<stdio.h>int main()
{
char string[]="Hello World";
display(string);
return 0;
}
void display(char *string)
{
printf("%s",string);
}
#include<stdio.h>int main()
{
char string[]="Hello World";
display(string);
return 0;
}
void display(char *string)
{
printf("%s",string);
}
AHello World
BHello
CWorld
DCompiler Error
ENone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!