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
How do you master coding?
What is time h in c++?
Write about the stack unwinding?
What are the various operations performed on stack?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Describe about storage allocation and scope of global, extern, static, local and register variables?
Can recursive program be written in C++?
Which is not a valid keyword a) public b) protected c) guarded
How can you link a c++ program to c functions?
Define virtual constructor.
What is c++ prototype?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
What is a .lib file in c++?
What are the advantages of prototyping?
What is the header file for setw?