Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c

error: invalid type argument of unary ‘*’ (have ‘long int’)

c pointers

Why use functions that just return a constant instead of just using a constant?

c function constants

Why is storing a function with different argument type to function pointer with void* argument UB?

c function-pointers

Is it safe to test relations between pointers for iteration?

c pointers iteration

Why is the (signed) cast necessary only sometimes to represent the minimum integer (32 bit system)?

c

Providing helper functions when rolling out own structures

c struct

How to encode a string when it is a pb_callback_t type

c protocol-buffers nanopb

How to check macros defined in .so? I'd use nm to check the function, is there a way to do the same for macros?

c linux .so nm

Why does the sin_family member exist?

c sockets struct

How does function parameters and local variables affect on the performance of a C program [closed]

c performance

sizeof() a struct with a zero length array member

How to fix "return value ignored: 'scanf'" code C6031 in visual studio

c

Why does printf create windows line endings?

c printf mingw

What is the "-z" option of Clang and why is it needed?

c macos linker clang

C - values is struct pointer are not set after pointer is returned from function

c knn

Using a #define in a formatted printf to define precision

c printf

Does malloc without corresponding free always produce a memory leak?

c memory-leaks malloc free

When are the ++c and c++ increments applied exactly here? [duplicate]

In C, what happens if we left shift the bits out of range and again right shift the values in the same operation

c

How does realloc() reallocate the memory?