Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
int main() { // Create a string char fullName[30]; // Ask the user to input some text (full name) printf("Type your full name and press enter: \n"); // Get the text fgets(fullName, sizeof(fullName), stdin); // Output the text printf("Hello %s", fullName); return 0; }
Type your full name and press enter: