C++ program output?
Explain output of this program.
#include <iostream>
using std::cout;
using std::cin;
int main() {
  cout<<cout<<'
';
  cout<<cin;
  return 0;
}
It prints some address in hexadecimal. what is it?

Answer Posted / guest

0x8f94036c0x8f940346

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the benefits of proper inheritance.

706


What are associate containers?

674


What does new return if there is insufficient memory to make your new object?

656


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1590


What is the latest version on c++?

740






What causes a runtime error c++?

661


Are c and c++ different?

597


What are activex and ole?

629


What are mutator methods in c++?

717


What is an undefined reference/unresolved external symbol error and how do I fix it?

671


What are the benefits of pointers?

647


Explain rtti.

651


Can we change the basic meaning of an operator in c++?

719


What are the advantages of c++ over c?

666


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

601