#include <stdio.h>void main(){int i;for (i=2; ; i++) printf(“%3d”,i);};
- Vòng lặp vô hạn
- “ 2”
- “ 1 2”
- Kết quả khác
Sau đây Quản trị mạng sẽ tiếp tục gửi đến bạn đọc những câu hỏi trắc nghiệm về lập trình vô cùng lý thú. Nếu bạn yêu thích chủ đề này hãy thử tài kiến thức của mình xem sao nhé.
Xem thêm:
#include <stdio.h>void main(){int i;for (i=2; ; i++) printf(“%3d”,i);};
#include <stdio.h>void main(){int sum;sum= 453+343printf(“\Ket qua la: “ sum) ;} ;
#include <stdio.h>void main(){int i,j;for (i=1; i<4; i++) j=i; printf(“%3d”,j);};
#include <stdio.h>void main(){int a=40, b=4;while(a!=b)if (a>b) a=a-b; else b=b-a; printf(“%d”,a);};
#include <stdio.h>void hoanvi(int *px, int *py){int z ; z=*px;*px=*py ;*py=z ;} ;void main(){int a=15, b=21 ; hoanvi(a,b) ; printf (“%d %d”,a,b);};
#include <stdio.h>void hoanvi(int px, int py){int pz;pz=px; px=py; py=pz;};void main(){int a=15, b=21; hoanvi(a,b);printf(“%d %d”,a,b);};
#include <stdio.h >void main(){char *s;s=”chao cac ban”; strcpy(&s[5],&s[9]); printf(“%s”,s);};
#include <stdio.h>void main(){int a=100, b=6; double f;f=(double)a/(double)b; printf(“%2.2f”,f);};
“16”.
“16.00”.
“16.67”.
Theo Nghị định 147/2024/ND-CP, bạn cần xác thực tài khoản trước khi sử dụng tính năng này. Chúng tôi sẽ gửi mã xác thực qua SMS hoặc Zalo tới số điện thoại mà bạn nhập dưới đây: