SyntaxFix
Write A Post
Hire A Developer
Questions
foo(*ob);
You don't need to cast it because it's the same Object type, you just need to dereference it.