Before I begin, thanks to Suraj Pal, for his comments that improved this post. Now onto the scenario.Suppose you are working with a C/C++ function, passing around a string. This time you want to pass the variable by reference. This can be because: The string is big and you are working in a resource constrained… Continue reading Let Me Tell you about a C function called asprintf()