Category Archives: C++

What is the purpose of a pointer in programming?

The full question ended with: “Why not access the variable directly?” It depends on what you mean by “access the variable directly.” In Algol derived languages (like C, C#, C++, Pascal, Ada), the way to access a variable directly is … Continue reading

Posted in Ada, Algol, C, C#, C++, FORTRAN, Java, Pascal, Software | Tagged , , , | Leave a comment