If you use same variable for two getline statements ..................
A. both the inputs are stored in that variable.
B. the second input overwrites the first one.
C. the second input attempt fails since the variable already got its value.
D. you can not use same variable for two getline statements.
Answer:B
If you use same variable for two getline statements ..................
A. both the inputs are stored in that variable. B. the second input overwrites the first one. C. the second input attempt fails since the variable already got its value. D. you can not use same variable for two getline statements.