C++ Pointers

Back To C++ Index


1. program to create an integer pointer to integer variable - Code
2. program to create a float pointer to float variable - Code
3. program to create a char pointer ( char pointer can be used to input a string ) - Code
4. program to create a pointer to a structure variable - Code
5. program to create a pointer to a structure variable which has a pointer to nested structure variable - Code
6. program to demonstrate pointer arithmetic (pointer arithmetic means applying operators on pointers) - Code
7. program to create a pointer to an object of class student and access public members of class through pointer - Code