You can take a string as input in C using scanf(“%s”, s). But, it accepts string only until it finds the first space. In order to take a line as input, you can ...
//char *ptr=str; // Here we can only use *ptr="Anmol Diwedi" too!!!//-2 char str[]="ANMOL Diwedi"; // we can use this also and 1 or 2 too...!!!
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする