A

Admin • 833K Points
Coach

Q. Which of the following functions display “Hello, World!” on the screen in console mode?

  • (A) echo("Hello, World!");
  • (B) print("Hello, World!");
  • (C) printf("Hello, World!");
  • (D) show("Hello, World!");
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

printf function allow us to display a text on the screen in console mode. Example:

#include <stdio.h>
int main()
{
printf("Hello, World!");
return 0;
}

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.