+ 2

What's the problem here(after cout*)...it's not working..šŸ˜•šŸ˜•

#include <iostream> using namespace std; int main() { if (10 != 10) { cout * << "Yes"; } return 0; }

18th Feb 2018, 8:25 AM
S M Rakibul Alam
S M Rakibul Alam - avatar
6 Answers
+ 14
asterisk sign is not used with cout asterisks are used with pointer variables like this int i = 0; int* ap = &i; // ap points to i *ap = 10;
18th Feb 2018, 8:48 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 11
#include <iostream> using namespace std; int main() { if (10 == 10) { cout << "Yes"; } return 0; } do like this cout is output stream used to print the output
18th Feb 2018, 8:33 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 6
Oh, yeah! I have not seen the asterisc. Sorry.
18th Feb 2018, 8:59 AM
Jaime Quirant
Jaime Quirant - avatar
+ 4
It works. What's the problem?
18th Feb 2018, 8:41 AM
Jaime Quirant
Jaime Quirant - avatar
+ 2
hello
22nd Feb 2018, 5:46 PM
Malik Nury
Malik Nury - avatar
+ 1
Dude.. the asterisk sign.. you should take it out
14th Mar 2018, 7:44 PM
Willz
Willz  - avatar