问一道C语言题,麻烦分析下每个选项呗,跪谢!

2025-02-23 18:15:00
推荐回答(3个)
回答1:

(A)、ps是(int *),ps + 1 还是(int *),不是 int,错的。
(B)、ps 是 (int *),ps + 3 还是(jnt *),那么*(ps +3)就是int ,对的。
(C)、ps是(int *),ps[]是int,而ps[][]就不知道是什么了。错的。
(D)、*(ps + 1)是 int,int + 3还是 int,但这不光是引用,又进行了代数运算,与题目要求不符,错的。

回答2:

选项是b
a错c错d错

回答3:

b,请采纳,新手答题不易,谢谢