Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in pointers

Cast a pointer to struct to a pointer to the only member of that struct

When we call (char*)malloc(sizeof(char)) to allocate memory for a string, is it initialized? How to initialize?

c pointers initialization

Changing elements of a constant char* literal in VS

c++ pointers char constants

Polymorphism in C++ does not work correctly with reference

Why I encounter a NULL terminating character at start of a string when I go backwards through it?

How do arrays work inside a struct?

c arrays pointers struct

when explicit pointer type cast is needed?

c++ c pointers casting

cannot assign to `*x` because it is borrowed

Accessing elements of typedef'ed array of pointers

c++ c arrays pointers

How efficient smart pointers are?

c++ pointers c++11 std

Assign an array to a pointer with complex cases

c arrays pointers

Passing an array of a structure between functions

c arrays pointers structure

Global pointer in C

c pointers scheme interpreter

C++ memory allocation for objects pointers

Why is a pointer needed for initialising an object on the heap, but not on the stack?

Hiding pointers with references

c++ pointers reference

"expected specifier-qualifier-list before ‘*’ token" error in variadic function

c pointers struct

Short & Quick malloc memory access issue

pthread_t pointer as argument of pthread_create

c pointers pthreads

Assigning int value to an address