Class_09_09.c - Class_09_09.c Created by Andrea W on 2019\/9\/9#include\"Class_09_09.h comments in multiple lines Preprocessor command to load a file is

Class_09_09.c - Class_09_09.c Created by Andrea W on...

This preview shows page 1 out of 1 page.

// // Class_09_09.c // // // Created by Andrea W on 2019/9/9. // #include "Class_09_09.h" /* comments in multiple lines Preprocessor command to load a file is known as stdio.h */ //# symbol preprocessor, go find a file #include <stdio.h> //every program must have a main function //main can take parameters //int is the return type int fac(int x) { int prod=1; for(int i=1;i<=x;i++) prod=prod*i;
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Fall '12
  • Barrett
  • LG, #include, Global variable, Closure, Andrea W

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture