CHO BIẾT KẾT QUẢ CỦA CHƯƠNG TRÌNH SAU

Câu 20: Cho biết kết quả của chương trình

sau:

#include <stdio.h>

#include <stdio.h>

void main()

int x, y;

{

void test (int &a, int &b)

int n = 5, s = 0, i=0;

{

for ( ; i < n; i++)

a--; b++;

s +=( i*i-1);

printf("%d", s);

}

void main()

}

a. 55

b. 24

int x = 1, y =5;

c. 25

test(x, y);

printf("%d%d", x, y);

d. 30