2004-06-30から1日間の記事一覧

はじめての C

文字型のアドレスを 3つ保持する配列を使って 文章を出力するプログラムを作成せよ。 /* pastr */ #include main() { char *pastr[3]; pastr[0] = "This is"; pastr[1] = "That is"; pastr[2] = "there are"; printf("%s a pen.\n", *pastr); printf("%s a m…