Structure of a simple C program

Ace your homework & exams now with Quizwiz!

#include directive

contains information needed by the program to ensure the correct operation of Turbo C's standard library functions

variable declaration section

it is the place where you declare your variables

body of the program

start by typing main() and the {and} (open and close braces). All statements should be written inside the {and} braces.

#define directive

used to shorten the keywords in the program


Related study sets

Life and Health Insurance Midterm

View Set

Finance Chapter 8- Stock Evaluation

View Set

Chapter 41: Fluid, Electrolyte, and Acid-Base Balance (Course Point +)

View Set

Ch. 01 Group 1 Mastering Microbiology

View Set

PrepUs for Pediatrics Chapter 30

View Set

MLA Format Guidelines (Mrs. Minoso)

View Set