Intro and Chapter 1 Getting Started with C Flashcards
Who developed the C programming language?
Dennis Ritchie in 1972 at Bell Telephone Laboratories
What is a function?
Functions enable you to group a logical series of activities, or program statements, under one name
What is an algorithm?
A step-by-step process or a set of rules for solving a problem
Is C case-sensitive?
Yes
What characters signify the start and end of a comment block?
Start = /* End = */
What characters can be used to create multi-line comment blocks?
The /* and */ characters can create multi-line and single-line comment blocks.
Aside from the /* and */ characters, what can create single-line comment blocks?
//
How many keywords are defined in the standard ANSI C programming language?
- They must always be in lower-case
What character signifies a statement terminator?
;
What is the escape character?
\
What are a few common escape sequences?
\n = new line \t = new tab \r = move cursor to start of line \\ = insert \ \" = insert " \' = insert '
What character signifies a preprocessing directive?
#
What is the standard naming convention for programs written in C?
.c
What does ANSI stand for?
American National Standards Institute
What does a C compiler do?
- Searches for preprocessing directives
- Generates error codes and messages (if app.)
- Compile program code into object code
- Link any necessary libraries