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.
define a char type array with input_string as variable name. Then use gets(input_string) to get Welcome...Code!.
then print hello world,
then print input_string using %s.
Easy.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 0: Hello, World.
You are viewing a single comment's thread. Return to all comments →
define a char type array with input_string as variable name. Then use gets(input_string) to get Welcome...Code!. then print hello world, then print input_string using %s. Easy.