From the course: C Programming Basics: Flow Control, Variables, and Pointers

Unlock the full course today

Join today to access over 23,400 courses taught by industry experts.

Challenge: Write a Hello program

Challenge: Write a Hello program

(upbeat electronic music) - [Instructor] Your challenge is to code a 'Hello' program. Allocate a text input buffer, prompt the user to type their name. Use the text input buffer to store the name, and then display the text input as a greeting. I recommend using the fgets() function to read input. This challenge should take you about 10 minutes to complete.

Contents