Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to assign values to strings and output numbers in C language?
How to assign values to strings and output numbers in C language?
1. Create a new string array definition and output item.

2. Add a string

Documents.

3, including stdio.h and stdlib.h header files.

4. Enter the main function body, system () and the return value.

5. Define a string variable str.

6. Use the printf () function to output the string variable str.

7. Run the program and check the output.