Brief explaination about #include<iostream.h>,
cin and cout
Answers were Sorted based on User's Feedback
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 |
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 |
What is the copy-and-swap idiom?
How to declare a pointer to an array of integers?
What is the difference between reference and pointer?
5. Can inline functions have a recursion?
Is the declaration of a class its interface or its implementation?
Is nan a c++?
Enter n no. of element and delete value from desire position
Explain what is class definition in c++ ?
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.
write a program in c++ to implement stack using functions in header file stack.h
What is nested class in c++?
What is the fastest c++ compiler?