C Language Exercise 6 / 15

Basic Pointers

Medium 20 points

Create a pointer to an integer variable and display the value through the pointer.

C pointers store the memory address of a variable. int *ptr declares a pointer, &variable gets the address, *ptr accesses the value.

Well done! 🎉
Your answer is correct! You earned 20 points.
Your code C Language
Result