08-28-2022, 06:06 PM
(08-27-2022, 11:22 PM)TempodiBasic Wrote: :The "printf()" line should be:
char s;
s = "ABCD"[1];
printf (%c,s);
and
char s;
s = 'A';
printf (%c, s);
they do the same thing.
:
Code: (Select All)
printf("%c", s);
Otherwise you could have seen what @JRace did in an earlier post and used instead:
Code: (Select All)
putchar(s);