stdio.h - UtilityAcc/C-Notes GitHub Wiki

printf is formatted print

printf("[some text ]%c[placeholder with type defined]\n[new line transition]", s[variable value according to placeholder type]);

Placeholders types: p - pointer s - string c - char u - unsigned int d/i- signed integer f - float, flot precision can be controlled with nubers near f, like %2.2f or %.2f

RETURNS QUANTITY OF PRINTED CHARS