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 are mutator methods in c++?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
What is the latest c++ standard?
What is a constant? Explain with an example.
Show the declaration for a pointer to function returning long and taking an integer parameter.
What are the differences between the function prototype and the function defi-nition?
Explain the concept of friend function in c++?
Define a pdb file.
Why do we use vector in c++?
What is the difference between structure and class?
Difference between Constructors and static constructors?
Can notepad ++ run c++?