The Problem is resolved. The issue was, I was passing string literal as character pointer which is constant. That's why it was throwing exception at runtime while changing that string. Now i'm...
Type: Posts; User: kmirza
The Problem is resolved. The issue was, I was passing string literal as character pointer which is constant. That's why it was throwing exception at runtime while changing that string. Now i'm...
Hi,
I've got character pointer, pointing to a string. I want to reverse character without using any other variable. The function is as fallow:
void reverseString(char* str)
{
int len =...