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
Out of fgets() and gets() which function is safe to use?
Do you know what are static and dynamic type checking?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
Explain method of creating object in C++ ?
What is the latest c++ standard?
What is friend class in c++ with example?
What is function prototyping? What are its advantages?
What is buffering in c++?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
Is java a c++?
What is the difference between set and map in c++?
What causes a runtime error c++?
Define a constructor?
What is searching?
What is :: operator in c++?