char* f() {
   cout << b;
   return "B::f";
}
Ok so I have this piece of code inside a class and I keep get this error
'return': cannot convert from 'const char [5]' to 'char*'
I tried some online compilers and it works just fine .
So why is this happening ?
 
    