PRF192_-_SP_2024_-_Block_5_-_FE_1919.webp
Ngọc Huyền1

PRF192_-_SP_2024_-_Block_5_-_FE_1919.webp

(Choose 1 answer)
included):
Consider the following code (suppose that line numbers are not included and all necessary libraries are
1.int smaller(int x, int y){
2. if(x<=y)
3. return(x);4. else
5.return(*(&y));
6.}7.int main(){
8. int i,n,x,y, min;
9. printf("How many pairs of numbers?");
10. scanf("%d", &n);11. for(i=1, i<=n, i++) {
12.printf("Enter the pair of numbers:");scanf("%d%f", &x,&y);
13.
14.min=small(x,y);
15.printf(" Smaller:%f",min);
16. } 17. return 0;
18.)
On compiling the above code, an error is displayed on which line first?
A. 5
B. 11
C. 13
ID 14


Q: 17

Thông tin

Category
PRF192
Thêm bởi
Ngọc Huyền1
Ngày thêm
Lượt xem
2,309
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_SP_2024_-_Block_5_-_FE_1919.webp
File size
235.8 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom