621 : 포인터 - 자가진단3
1234567891011121314151617181920#pragma warning (disable:4996) #include int main(){ int num1, num2; int* ptr1 = &num1; int* ptr2 = &num2; scanf("%d", ptr1); scanf("%d", ptr2); printf("%d + %d = %d\n", *ptr1, *ptr2, *ptr1 + *ptr2); printf("%d - %d = %d\n", *ptr1, *ptr2, *ptr1 - *ptr2); printf("%d * %d = %d\n", *ptr1, *ptr2, *ptr1 * *ptr2); printf("%d / %d = %d\n", *ptr1, *ptr2, *ptr1 / *ptr2); ret..