Page not loading? Try clicking here.
Placeholder

#619
Special judge

포인터 - 자가진단1 1s 32MB

Problems

Declare an integer variable and a pointer variable.

  • Receive an integer as input and use the pointer variable to print the memory address and the value of the integer variable.

  • Use "%#p" to print the address.

The output example assumes the memory address is "0X11110000".


Example

20
0X11110000 20

Source

자기주도C언어프로그래밍

You must sign in to write code.