A C compiler translates source into an executable. The stdio.h header declares input and output functions. Execution begins in main. puts writes a string followed by a newline. Returning zero reports successful termination.
Read the example
The complete program appears below. Read it first, predict the output, then run it.
Expected output
Hello, TCS Pune!
Practise
Change the greeting and add another puts call that prints your learning goal.
Common mistake
Statements need semicolons. Keep the header name inside angle brackets; use straight quotation marks around strings.