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 |
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
Write a program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables
Who was the creator of c++?
How Virtual functions call up is maintained?
What is functions syntax in c++?
Give 2 examples of a code optimization?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
what is difference between static and non-static variables
Write a corrected statement in c++ so that the statement will work properly. x + y=z;
How many static variables are created if you put one static member into a template class definition?
Write some differences between an external iterator and an internal iterator?
Describe about storage allocation and scope of global, extern, static, local and register variables?