include stdio include stdlib int get_ten return int main void int arra

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>
#include <stdlib.h>
int get_ten() {
return 2 + 8;
}
int main(void) {
int array[10];
int a = 1;
int b;
int c = 2;
if (rand() > 0) {
a += b;
} else {
a -= b;
}
array[0] = a+b;
printf("a=%d, ten=%d\n", a, get_ten());
printf("%d", array[rand()]);
return 0;
}