In C++ cout is:
a) object
b) class
c) something else

Answer Posted / reejusri

Its an Object of class OStream, thats why we add its
corresponding header file that is <iostream.h>, Open this
header file you wil get complete infomation.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of using friend classes.

565


what is c++

1784


Explain the difference between struct and class in terms of access modifier.

684


Discuss the possibilities related to the termination of a program before entering the mainq method?

530


What is low level language in simple words?

547






Explain container class.

674


What are c++ tokens?

582


how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include //INCLUDE EVERY KNOWN HEADER FILE #include //FOR ANY CASE... #include #include #include main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<

1803


How is c++ used in the real world?

565


What is the disadvantage of using a macro?

578


How do you initialize a string in c++?

545


What is a rooted hierarchy?

671


What is #include ctype h in c++?

653


What is one dimensional array in c++?

569


What does #define mean in c++?

598