+ 2
Why the output is this?
the code is this #include<iostream.h> main() {cout<<123456789; } And the output is 123456789
10 Answers
+ 6
if you want to output a string
what happens when you output like this?
int a = 123456789;
cout << a;
an integer is printed to screen.
+ 4
what were you expecting the output to be?
+ 3
thank you so much
+ 1
Because you output number 123456789 ;)
+ 1
like this
cout<<"123456789";
+ 1
No it's not necessary. You can output integer as well
+ 1
oh
+ 1
šš
0
but thats not in double quotes
0
it must be in double quotes