11 lines
192 B
C
11 lines
192 B
C
|
#include <stdio.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
void printChar(const char* character, bool errStream) {
|
||
|
if (errStream) {
|
||
|
putc(*character, stderr);
|
||
|
return;
|
||
|
}
|
||
|
putc(*character, stdout);
|
||
|
}
|