More actions
imported>mikana ({CREATE}) |
No edit summary |
||
| Line 1: | Line 1: | ||
== 1-1 == | == 1-1 == | ||
#include <stdio.h> | |||
int main() { | |||
int number[10] = { 1,3,5,7,9,11,13,15,17,19 }; | |||
int *p; | |||
for (int i = 0; i < 10; i++) | |||
{ | |||
printf("%d\n", *(number+i)); | |||
} | |||
return 0; | |||
} | |||
== 1-2 == | == 1-2 == | ||
//여기에 코드를 작성하세요. | //여기에 코드를 작성하세요. | ||
Revision as of 05:31, 8 October 2020
1-1
#include <stdio.h>
int main() {
int number[10] = { 1,3,5,7,9,11,13,15,17,19 };
int *p;
for (int i = 0; i < 10; i++)
{
printf("%d\n", *(number+i));
}
return 0;
}
1-2
//여기에 코드를 작성하세요.
1-3
//여기에 코드를 작성하세요.
2-1
//여기에 코드를 작성하세요.
2-2
//여기에 코드를 작성하세요.