Brief explaination about #include<iostream.h>,
cin and cout
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prabakaran
iostream-input and output stream
contain-cin,out(input and output stream)
cin-get data value from user
cout-put data value to screan
| Is This Answer Correct ? | 5 Yes | 0 No |
What would happen on forgetting [], while deallocating an array through new?
What is the full name of logo?
what is difference between internet and Internet?
12 Answers College School Exams Tests, Microsoft, MIT, TCS,
What is a set in c++?
What is a lambda function c++?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What are the differences between a struct in C and in C++?
What is constructor and destructor in c++?
Refer to a name of class or function that is defined within a namespace?
What is purpose of abstract class?
Can we delete this pointer in c++?
Which of the Standard C++ casts can be used to perform a ?safe? downcast: a) reinterpret_cast b) dynamic_cast c) static_cast d) const_cast