#include <stdio.h>
int main(void) {
putchar(getchar());
putchar(getchar());
return 0;
}
I had given the input: a b. But it is printing only a.
#include <stdio.h>
int main(void) {
putchar(getchar());
putchar(getchar());
return 0;
}
I had given the input: a b. But it is printing only a.
On my laptop, itโs printing both chars: the a
, and the space that comes after it
I got it๐