pointers 480

  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. What are the barriers to understanding pointers and what can be done to overcome them?
  9. What exactly is nullptr?
  10. How do you pass a function as a parameter in C?
  11. How do I use arrays in C++?
  12. How many levels of pointers can we have?
  13. C pointer to array/array of pointers disambiguation
  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. Pointer vs. Reference
  23. How to find the 'sizeof' (a pointer pointing to an array)?
  24. size_t vs. uintptr_t
  25. When should I use the new keyword in C++?
  26. What is the difference between NULL, '\0' and 0
  27. Why does the arrow (->) operator in C exist?
  28. How to pass objects to functions in C++?
  29. Which kind of pointer do I use when?
  30. Passing a 2D array to a C++ function
  31. What exactly is a C pointer if not a memory address?
  32. What is the difference between char * const and const char *?
  33. Pointers in C: when to use the ampersand and the asterisk?
  34. Is the sizeof(some pointer) always equal to four?
  35. C++: Pointer to class data member “::*”
  36. C isn't that hard: void ( *( *f[] ) () ) ()
  37. Are there benefits of passing by pointer over passing by reference in C++?
  38. What do people find difficult about C pointers?
  39. What is uintptr_t data type
  40. In C, why do some people cast the pointer before freeing it?
  41. Passing by reference in C
  42. Arrow operator (->) usage in C
  43. Differences between unique_ptr and shared_ptr
  44. Why use double pointer? or Why use pointers to pointers?
  45. Why do C++ libraries and frameworks never use smart pointers?
  46. Should I store entire objects, or pointers to objects in containers?
  47. Why is x[0] != x[0][0] != x[0][0][0]?
  48. Char array vs char pointer in C
  49. Is an array name a pointer?
  50. Why 'this' is a pointer and not a reference?