프로그래밍 언어 활용난도 중상
15번 · 주관식 · 5점
다음 C 함수가 values = {-3}, count = 1로 호출될 때 실행되는 문장 번호를 순서대로 쓰시오.
int normalize(int values[], int count) {
int index = 0; // ①
while (index < count) { // ②
if (values[index] < 0) { // ③
values[index] = -values[index]; // ④
}
index++; // ⑤
}
return 1; // ⑥
}