Week 3 Intro To C++ Flashcards
what is the =
Assignment Operator
What is Initialization?
Assigns values to variables when they are defined.
What is scope?
The part of the program that has access to the variable
Arithmetic Operators
Manipulate Data
What are the three types of Arithmetic Operators
Unary: single operand
Binary: 2 operands
Ternary: three operands
What is cin?
Input
What do you have to do before the input?
Prompt output.
What comes after cin ?
> > (stream extraction operator)
Where does data go with»_space;
from console to variable
Where does data go with «
data on right to console
What is the input buffer?
Where the data is held before it goes into a variable.
What is Implicit Type Conversion?
Going from a larger to smaller size data type. You will loose data by truncating.