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
What is c++ good for?
Which c++ compiler is best?
What is microsoft c++ redistributable?
What is const pointer and const reference?
What is c++ w3school?
Explain static and dynamic memory allocation with an example each.
Explain function overloading and operator overloading.
What's the order in which the local objects are destructed?
Explain stack unwinding.
What are the types of container classes?
Is ca high or low level language?
What does scope resolution operator do?
What is the meaning of string in c++?
What is an operator function? Describe the function of an operator function?
Is empty stack c++?