1/14
A set of vocabulary flashcards covering the basic structure and syntax of a C program based on the lecture notes.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Preprocessor directives
Instructions that start with a pound sign ($#$) and tell the compiler to include library files in the program.
#include
A specific preprocessor directive used to include the standard input-output library files.
main()
The start of the executable part of a C program.
Local Declarations
Statements of the different data objects, such as intx;, that will be needed during the execution of a program.
Statements
The executable part of your program.
printf()
An output function that came from <stdio.h> used to output data onto the screen of the computer.
scanf()
An input function from <stdio.h> used to input data from the keyboard.
&
The address-of operator used in the input list of a scanf() function.
The placeholder used for a char data type.
The placeholder used for an int data type.
The placeholder used for a float data type.
The placeholder used for a double data type.
Comments
Used for internal program documentation to explain the purpose of the program or specific lines of code to the user.
/∗∗/
The syntax used for block comments in C.
//
The syntax used for line comments in C.