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
Can malloc be used in c++?
Can we use this pointer in a class specific, operator-overloading function for new operator?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
Please explain the reference variable in c++?
What is extern c++?
What is else if syntax?
What is data abstraction? How is it different from data encapsulation?
How is c++ used in the real world?
What is the type of 'this' pointer?
If a function doesn’t return a value, how do you declare the function?
What is the difference between a declaration and a definition?
Who made c++?
Differences between private, protected and public and give examples.
Explain the benefits of proper inheritance.
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.