1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #pragma warning (disable:4996) #include <stdio.h> int main() { char star = '*'; char* ptr_star = ☆ int num; scanf("%d", &num); for (int i = 0; i < num; i++) { printf("%c", *ptr_star); } return 0; } | cs |
프로그래밍 문제/정올