问题 填空题

以下程序的功能是将无符号八进制数字构成的字符串转换为十进制整数。
#include <string.h>
main()
char s[6],*p______;
int n;
gets(p);
n=*p-______;
while(______p!=’\0’)
n=n*8+*p-’0’:
printf("%d\n",n);

答案

参考答案:=s
’0’
*++

多项选择题
单项选择题 A1/A2型题