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
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)
What is private public protected in c++?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
Write a program which employs Recursion
What is a down cast?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Which bit wise operator is suitable for turning off a particular bit in a number?
What is a binary file? List the merits and demerits of the binary file usagein C++.
What is the difference between delegation and implemented-in-terms-of?
Explain rtti.
What does ctime() do?
Why would you use pointers in c++?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
Explain the volatile and mutable keywords.
Which is best c++ or java?