Hello Friends,
Suppose I have a function like -
void myFunc( char* str)
{
.......
.......
}
And I have to pass a pointer of type "const char*" into that function.
Now my question is that can I pass the pointer like following way (ie by custing it into a "char*"),
const char* ptr = "ABCD";
.....
.....
void myFunc( [B](char*) ptr[/B])
.......
.......
Thanx,
Amit