N
nick
#include <stdio.h>
#include <string.h>
int main(void)
{
char message[]="Welcome to C Programming!";
char *cptr;
cptr = message + 5;
printf("%c\n", cptr);
return 0;
}
the above code, when i put it in VC++.NET, it can't display properly.
but when i put it in MinGW Developer Studio, it can show the result 'm'.
why?
thanks!
#include <string.h>
int main(void)
{
char message[]="Welcome to C Programming!";
char *cptr;
cptr = message + 5;
printf("%c\n", cptr);
return 0;
}
the above code, when i put it in VC++.NET, it can't display properly.
but when i put it in MinGW Developer Studio, it can show the result 'm'.
why?
thanks!