MCQOPTIONS
Saved Bookmarks
| 1. |
What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} |
| A. | will print Hello World |
| B. | Compilation Error |
| C. | will print garbage value |
| D. | None of these. |
| Answer» C. will print garbage value | |