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

Why we use #include iostream in c++?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create

0 Answers  


Differentiate between a copy constructor and an overloaded assignment operator.

0 Answers  


What is the arrow operator in c++?

0 Answers  


What are the benefits of pointers?

0 Answers  






How can you tell what shell you are running on unix system?

0 Answers  


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

0 Answers  


Explain linked list using c++ with an example?

0 Answers  


Why pointer is used in c++?

0 Answers  


State two differences between C and C++.

0 Answers   Hexaware,


What is the prototype of printf function?

0 Answers  


How to change constant values?

6 Answers   Huawei, Symphony,


Categories