Q38.webp
Erza_girl

Q38.webp

Kizspy Question: 38
(Choose 1 answer)
FJOVERFLOW.COM
int *ptr malloc(sizeof( int ) );
To reallocate ptr to be an array of 5 elements, which of the following statements generates an error?
A. ptr = realloc(ptr, 5* sizeof(int));
B. realloc( ptr, 5* sizeof(int));
C. ptr += malloc( 5* sizeof( int ) );
D. realloc( ptr, 20);
E. ptr realloc( ptr, 20);

Thông tin

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

Share this media

Back
Bên trên Bottom