PRF192_-_PT02_-_SP_2024_1513.webp
maik205

PRF192_-_PT02_-_SP_2024_1513.webp

  • Media owner maik205
  • Ngày thêm
Question 17
Answer saved
Marked out of 1.00
What will be the output of the following C code?
1.#include <stdio.h>
2.
int main()
3.{
4.
5.
int ary[4] = {1, 2, 3, 4};
int *p = ary + 3;
6.printf("%d", p[-2]);
7.}
Oa. Compile time error
Ob. Some garbage value
c. 2
d. 1
Clear my choice

Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
maik205
Ngày thêm
Lượt xem
480
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom