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 |
List the special characteristics of constructor.
i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem
What is the cout in c++?
How do you flush a buffer in c++?
What is virtual destructors? Why they are used?
Which software is best for coding?
What is istream c++?
What do you mean by inheritance in c++? Explain its types.
What are friend classes? What are advantages of using friend classes?
What is #include iomanip?
What are the two main components of c++?
What is a forward referencing and when should it be used?