An open API service indexing awesome lists of open source software.

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

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.