C출력 결과보통 · 20점
249.
다음 C 프로그램의 실행 결과를 쓰시오.
1#include <stdio.h>23int main() {4int n = 45, p = 2, big = 0;5while (n > 1) {6if (n % p == 0) {7big = p;8n /= p;9} else {10p++;11}12}13printf("%d\n", big);14return 0;15}
다음 C 프로그램의 실행 결과를 쓰시오.
1#include <stdio.h>23int main() {4int n = 45, p = 2, big = 0;5while (n > 1) {6if (n % p == 0) {7big = p;8n /= p;9} else {10p++;11}12}13printf("%d\n", big);14return 0;15}