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...!!!
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する