Stringzz
- The program take any length of input from
stdin
, the input buffer is initially a pointer toNULL
, will be allocated a pointer to a new buffer bygetline
. - The flag is stored in heap.
printMessage1
to callprintMessage2
, which callsprintMessage3
to print the input withprintf
, as it simply pass whatever we input toprintf
, we can use%n$s
to jump to thenth
layer of stack to print the string.