https://github.com/msh-trojan/cpp_pointers
simple program to show the usage of pointers in a C++ program
https://github.com/msh-trojan/cpp_pointers
cpp pointers
Last synced: over 1 year ago
JSON representation
simple program to show the usage of pointers in a C++ program
- Host: GitHub
- URL: https://github.com/msh-trojan/cpp_pointers
- Owner: MSH-trojan
- Created: 2024-05-31T00:32:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T00:49:04.000Z (about 2 years ago)
- Last Synced: 2024-05-31T02:01:02.187Z (about 2 years ago)
- Topics: cpp, pointers
- Language: C++
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cpp_pointers
we declare our libraries and the usage of our statements in our program
inside the main, we declare our variables x and y with their values
now, we define a pointer called ip to point to the address of the variable x.
we print out the address of the variable x plus the values of x and y.