arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

F. Moinian

1 paper · 2012–2012

2012: 1
2012peak 1 in 20122012

Frequent co-authors

Papers

showing 1–1 of 1 RSS

Teaching Pointers in C/C++ to CS Freshman Students

C. Zhao, F. Moinian

Computer Science Applications · · cited 0× · OpenAlex ↗ · more like this ·

Abstract- Pointers are one of the key features of the C and C++ languages which provide programmers flexible and powerful tools to manipulate data. Since pointers in C/C++ access data through their corresponding memory addresses, a program utilizing pointers may terminate with little useful error messages if any illegal address is accessed during run time. Experience from our teaching practice indicates that the pointer concept and its usage are difficult topics to grasp for CS undergraduate students. In this article we will discuss some advanced usages of pointers with respect to structures, functions, and objects and believe that it may be beneficial to both CS students and instructors in their teaching and learning practice.