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


Please Help Members By Posting Answers For Below Questions

why is c++ called oops? Explain

578


How do you define a class in c++?

642


Should I learn c or c++ first?

566


What are the advantages of using friend classes?

627


What is meaning of in c++?

670






Explain the pure virtual functions?

634


How do I tokenize a string in c++?

608


What is bubble sort c++?

572


What is meant by entry controlled loop?

658


What is the best c++ book?

710


What is the default width for ouputting a long integer using the insertion operator?

687


Is c++ platform dependent?

629


What is class in c++ with example?

568


Explain the static storage classes in c++.

703


What is the use of seekg in c++?

596