13.07.2015 Views

M182-lect1 pdf

M182-lect1 pdf

M182-lect1 pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A simple C program/* helloworld.cThis program prints "Hello world!" on the screen.This statement calls the printf() library function to*/print formatted text that we specify. The inputargument is enclosed in parentheses. It specifies the#include text we want to print as well as the formatting thatarranges the printed text.int main () {}printf("Hello world!\n");return 0;ALL statements end with a semicolon!30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!