Input - Output - C - C++

Standard Library

#include <stdio.h>
        

Printing Output

HowWhatDescription
printf("%p\n", &century);Print pointer to memory address
printf("%s\n", string);Print string representation of string of char's
printf("%s", myBool ? "true": "false");Pretty print boolean
printf("%d\n", myBool);Print integer representation of boolean (1 or 0)
printf("%d\n", myInt);Print integers value