首页 > 试题广场 >

下面这个程序会打印出什么? #include

[问答题]
下面这个程序会打印出什么?
#include <stdio.h>
int main (void)
{
char note[ ] = "See you at the snack bar.";
char  *ptr;
ptr = note;
puts (ptr);
puts (++ptr);
note[7] = '\0';
puts (note);
puts (++ptr);
return 0;
}

推荐
See you at the snack bar.
ee you at the snack bar.
See you
e you
发表于 2018-03-19 21:34:46 回复(0)