You might wish to check your compiler to see if it takes this shortcut, but keep in mind it's not standard C and may not work on ALL compilers. Cout will be discussed in depth in a later tutorial. C starts with no basic commands, and includes what you use, to include only what files are absolutely necessary to run the program. These programs both output the string indicated there with the quotes. As you can notice each line of code ends with a semicolon.
Some programmers prefer to seperate the lines like that on long output statements.
This is true when used variables, and this concept will be explained in later lessons. Now an explanation how these statements work. The reason why printf is like print using instead of just print will be explaned in the Output II lesson. However, to do this in C, where the variables have to be first, you must convert the program to this, since all declarations must come before any executable code. This is good for most applications but they cannot handle decimals, like float can.