printf function in c doesn\'t always print the output on screen. For example if you forget to put \\n at the end of string you are printfing you sometimes don\'t get the o/p
I used
puts(largeString);
because in my particular case, printf() just stopped printing halfway through. The entire string was there, it just didn't print.
fflush(stdout) didn't fix it either, another printf() on the next line printed just fine.