pointers 539

  1. What are the differences between a pointer variable and a reference variable in C++?
  2. When should static_cast, dynamic_cast, const_cast and reinterpret_cast be used?
  3. Regular cast vs. static_cast vs. dynamic_cast
  4. With arrays, why is it the case that a[5] == 5[a]?
  5. What is a smart pointer and when should I use one?
  6. Why should I use a pointer rather than the object itself?
  7. What is the difference between const int*, const int * const, and int const *?
  8. How do you pass a function as a parameter in C?
  9. What exactly is nullptr?
  10. What are the barriers to understanding pointers and what can be done to overcome them?
  11. How do I use arrays in C++?
  12. C pointer to array/array of pointers disambiguation
  13. How many levels of pointers can we have?
  14. What does “dereferencing” a pointer mean?
  15. Typedef function pointer?
  16. Deleting Objects in JavaScript
  17. When to use references vs. pointers
  18. How does free know how much to free?
  19. Why use pointers?
  20. What is array decaying?
  21. Is it safe to delete a NULL pointer?
  22. How to find the 'sizeof' (a pointer pointing to an array)?
  23. What is the difference between NULL, '\0' and 0
  24. Pointer vs. Reference
  25. When should I use the new keyword in C++?
  26. size_t vs. uintptr_t
  27. How to pass objects to functions in C++?
  28. Which kind of pointer do I use when?
  29. Passing a 2D array to a C++ function
  30. Why does the arrow (->) operator in C exist?
  31. What is the difference between char * const and const char *?
  32. Pointers in C: when to use the ampersand and the asterisk?
  33. What exactly is a C pointer if not a memory address?
  34. Is the sizeof(some pointer) always equal to four?
  35. Are there benefits of passing by pointer over passing by reference in C++?
  36. C++: Pointer to class data member “::*”
  37. Pointers vs. values in parameters and return values
  38. C isn't that hard: void ( *( *f[] ) () ) ()
  39. What is uintptr_t data type
  40. Passing by reference in C
  41. Arrow operator (->) usage in C
  42. Why use double pointer? or Why use pointers to pointers?
  43. What do people find difficult about C pointers?
  44. In C, why do some people cast the pointer before freeing it?
  45. Differences between unique_ptr and shared_ptr
  46. Is an array name a pointer?
  47. What is the difference between char array vs char pointer in C?
  48. Should I store entire objects, or pointers to objects in containers?
  49. How come an array's address is equal to its value in C?
  50. Why do C++ libraries and frameworks never use smart pointers?