Structure of a C Program Vocabulary

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

flashcard set

Earn XP

Description and Tags

A set of vocabulary flashcards covering the basic structure and syntax of a C program based on the lecture notes.

Last updated 11:52 PM on 8/11/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

Preprocessor directives

Instructions that start with a pound sign ($#$) and tell the compiler to include library files in the program.

2
New cards

#include

A specific preprocessor directive used to include the standard input-output library files.

3
New cards

main()main()

The start of the executable part of a C program.

4
New cards

Local Declarations

Statements of the different data objects, such as intx;int\,x;, that will be needed during the execution of a program.

5
New cards

Statements

The executable part of your program.

6
New cards

printf()printf()

An output function that came from <stdio.h><stdio.h> used to output data onto the screen of the computer.

7
New cards

scanf()scanf()

An input function from <stdio.h><stdio.h> used to input data from the keyboard.

8
New cards

&

The address-of operator used in the input list of a scanf()scanf() function.

9
New cards

%c

The placeholder used for a charchar data type.

10
New cards

%d

The placeholder used for an intint data type.

11
New cards

%f

The placeholder used for a floatfloat data type.

12
New cards

%lf

The placeholder used for a doubledouble data type.

13
New cards

Comments

Used for internal program documentation to explain the purpose of the program or specific lines of code to the user.

14
New cards

///*\,*/

The syntax used for block comments in C.

15
New cards

////

The syntax used for line comments in C.