- 1

can we use interpreter in sololearn for c ? as it executes line by line.

int * test() { static int x[4]; for(int i=0;i<4;i++){ x[i] = i%2; } return x; } int main() { int * arr = test(); printf("%d", *(arr+3)); }

15th Sep 2019, 6:45 PM
Needhi Wadhs
Needhi Wadhs - avatar
0 ответов