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


Please Help Members By Posting Answers For Below Questions

Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1591


What is private public protected in c++?

629


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

706


Write a program which employs Recursion

858


What is a down cast?

687






Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

1593


Which bit wise operator is suitable for turning off a particular bit in a number?

737


What is a binary file? List the merits and demerits of the binary file usagein C++.

834


What is the difference between delegation and implemented-in-terms-of?

632


Explain rtti.

676


What does ctime() do?

691


Why would you use pointers in c++?

716


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

812


Explain the volatile and mutable keywords.

716


Which is best c++ or java?

740