C Environment Setup Assignment Help

Environment setup for C program execution:

The following steps shall be followed for clean execution of C program

  1. Create your program
  2. Compile your program
  3. Execute your program

For Unix/Linux Operating System, Default Compiler is cc/gcc

Program Creation:

Program can be written in notepad/notepad++ and can be saved with extension with”.”

Eg., $ program1.c


Program can be complied using compiler. In this case we will use “cc”.

Eg., $ cc program1.c


After a successful clean build. Do the program now.