文字列と配列で、文字を表示する処理です。 #include<stdio.h> void main() { /* 配列の初期化 */ char t[30];//char型の変数 /* 文字の入力 */ printf("文字を入力:"); scanf_s("%30s", t, 30); /* 入力した文字の表示 */ printf("¥n"); printf("%s¥n", t); } char型</stdio.h>…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。