Brief explaination about #include<iostream.h>,
cin and cout

Answers were Sorted based on User's Feedback



Brief explaination about #include<iostream.h>, cin and cout..

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

Brief explaination about #include<iostream.h>, cin and cout..

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

Brief explaination about #include<iostream.h>, cin and cout..

Answer / iyyappan

cin

Is This Answer Correct ?    4 Yes 8 No

Post New Answer

More C++ General Interview Questions

What is the copy-and-swap idiom?

0 Answers  


How to declare a pointer to an array of integers?

0 Answers  


What is the difference between reference and pointer?

0 Answers  


5. Can inline functions have a recursion?

4 Answers  


Is the declaration of a class its interface or its implementation?

0 Answers  






Is nan a c++?

0 Answers  


Enter n no. of element and delete value from desire position

1 Answers  


Explain what is class definition in c++ ?

0 Answers  


class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 Answers   Quark,


write a program in c++ to implement stack using functions in header file stack.h

3 Answers   Google, Subex,


What is nested class in c++?

0 Answers  


What is the fastest c++ compiler?

0 Answers  


Categories