Brief explaination about #include<iostream.h>,
cin and cout
Answer Posted / geetha
#include<iostream.h> is a header file .it helps to perform
the cin,cout statements.
1.iostream-input output stream.
2.cin is like a scanf statement in "C" but it do not need a
format specification.this also called as right in operator
(ie)scanf("%d,%d",&a,&b)
cin>>a>>b
3.cout is like a printf statement in "C" but it do not need
a format specification.this also called as left out
operator
(ie)printf("%d,%d",a,b)
cout<<a<<b
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
why is c++ called oops? Explain
How do you define a class in c++?
Should I learn c or c++ first?
What are the advantages of using friend classes?
What is meaning of in c++?
Explain the pure virtual functions?
How do I tokenize a string in c++?
What is bubble sort c++?
What is meant by entry controlled loop?
What is the best c++ book?
What is the default width for ouputting a long integer using the insertion operator?
Is c++ platform dependent?
What is class in c++ with example?
Explain the static storage classes in c++.
What is the use of seekg in c++?