1.

Arjun wants to read a string with spaces from the following which is suitable.(а) cin>> (b) cin.getline(str,80) (c) str = getc(stdin) (d) none of these

Answer»

(b) cin.getline(str,80)



Discussion

No Comment Found

Related InterviewSolutions