以下程序的运行结果是:
#include
void main( )
{
char *p="hello", *s = "world";
p=p+2;
s++;
printf("%s-%s",p, s);
}
A、hello-world
B、ello-world
C、hello-orld
D、llo-orld
#include
void main( )
{
char *p="hello", *s = "world";
p=p+2;
s++;
printf("%s-%s",p, s);
}
A、hello-world
B、ello-world
C、hello-orld
D、llo-orld