Did you forget "" around 1234 ? The argument of printf is a pointer and when you pass a random integer as a pointer to the string that you want printed, it should crash.
For any information on printf, see http://www.cplusplus.com/reference/clibrary/cstdio/printf/