Input & Output C++
Input & Output C++
Input & Output C++
Input Stream: which allows to perform read operation with input devices. “cin”
is an object of input stream.
e.g. of input stream operations:
int age;
cin>> age;
char name[20];
cascaded input operations: input of more than one
cin>> name;
Ms. Sharmistha Roy, item can be performed using a single ‘cin’.
Assistant Professor, SCE , KIIT
Scope Resolution Operator ::
Fig: Call-by-value
Value
Formal Parameter Type