Thoughts of a C++ Developer

Joined November 2024
What is a Pointer to a Pointer or Double Pointer in C/C++? This type of question can make or break your interview. The way you answer it showcases your expertise with Pointers. So, let’s start with it ! #cplusplus #cpp #programming #cprogramming #coding #pointers Thread 1/5 ...
1
1
3
239
If we dereference the pointer to a pointer with a single asterisk, it will give the value in it, which is another address (i.e., the content of the pointer `ptr`). #cplusplus #cpp #programming #cprogramming #coding #pointers #doublepointers Thread 4/5 ...
1
38
Whereas, dereferencing a pointer-to-pointer (**ptr) first accesses the intermediate pointer (*ptr), then the data it points to. #cplusplus #cpp #programming #cprogramming #coding #pointers #doublepointers Thread 5/5 ...
45
What is an R-Value in C++11? How to detect R-values in an expression? What are the Properties of R-Values? cppjournal.com/posts/lvalues… #cpp #cplusplus #programming #cprogramming #coding #cpp11 #moderncpp
1
30
R-Values in C++11, are temporary and cannot be assigned a new value. They are “read-only” in expressions, meaning you cannot modify them directly. #cpp #cplusplus #programming #cprogramming #coding #cpp11 #moderncpp
1
29