We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
In this challenge, we will learn some basic concepts of C that will get you started with the language. You will need to use the same syntax to read input and write output in many C challenges.
Task
This challenge requires you to print on a single line, and then print the already provided input string to stdout.
Note: You do not need to read any input in this challenge.
Input Format
You do not need to read any input in this challenge.
Output Format
Print on the first line, and the string from the given input on the second line.
Sample Input 0
Welcome to C programming.
Sample Output 0
Hello, World!
Welcome to C programming.
what is the code?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
"Hello World!" in C
You are viewing a single comment's thread. Return to all comments →
Objective
In this challenge, we will learn some basic concepts of C that will get you started with the language. You will need to use the same syntax to read input and write output in many C challenges.
Task
This challenge requires you to print on a single line, and then print the already provided input string to stdout.
Note: You do not need to read any input in this challenge.
Input Format
You do not need to read any input in this challenge.
Output Format
Print on the first line, and the string from the given input on the second line.
Sample Input 0
Welcome to C programming. Sample Output 0
Hello, World! Welcome to C programming.
what is the code?