+ 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; }
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;
+ 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
+ 6
Oh, yeah! I have not seen the asterisc. Sorry.
+ 4
It works. What's the problem?
+ 2
hello
+ 1
Dude.. the asterisk sign.. you should take it out