I started to learn si. And the topic with strings is not very given to me. Here is the code:
#include <stdio.h> void main () { char *card="JQK"; puts(card[0]); } gcc on linux says this:
expected 'const char *' but argument is of type 'char' extern int puts (const char *__s); ^ Ошибка сегментирования Please explain. And then I did not understand something.