+ 5
because getchar([type]) is not defined in the C standard
+ 4
Well if you really want it the other way...
#define getchar(c) c=getchar()
But you should probably just use c=getchar() to be honest ^^
+ 3
Because thats just not how it works, not sure of the parameters, but it returns the next character in the stream. try:
a = getchar();
printf("%c\n", a);
+ 3
because it's meant for a different use
+ 3
the person/people who wrote it decided it and we just accept it and use it or write our own if we don't like their's ¯\_(ツ)_/¯
+ 2
haha



