What is the output of this code
#include iostream
using namespace std;
int main()
{
char *ptr;
char Str[] = "KNOWING";
ptr = Str;
ptr += 5;
cout ptr;
return 0;
}

Posted on by