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