current position:Home>C language on the output and input of string

C language on the output and input of string

2022-02-02 20:03:44 CSDN Q & A

img

img

img


Why not output the whole name and gender for guidance




Refer to the answer 1:

img


You are an array of strings , You can only output the first character




Refer to the answer 2:



Refer to the answer 3:

You entered a character type

You can make two strings
s1=girl
s2=boy
Output judgment




Refer to the answer 4:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202022003426924.html

Random recommended