Home
Articles
Questions
Free courses
America Zip Code
Color Code
Login
What in the C standard allows compilers to optimize `(((char *)p - 1) == NULL` to false?
c
pointers
standards
language-lawyer
pointer-arithmetic
gcc -O3 diagnostic warning: '' is used uninitialized - UB, bug or "name mangling"?
c
gcc
language-lawyer
strict-aliasing
is it legal to have a c environment where char is 16 bits and short is also 16 bits
c
language-lawyer
Can one pass by value an object with private destructor in a function?
function
private
c++
destructor
language-lawyer
Is the C restrict qualifier transitive through pointers?
c
language-lawyer
restrict-qualifier
Using setjmp and longjmp with a local jmp_buf
c
language-lawyer
local-variables
cpu-registers
setjmp
In standard C, is the expression "i = (i = 1) + 1;" well defined?
c
clang
gcc
language-lawyer
Why must a comma expression used as an array size be enclosed in parentheses if part of an array declarator?
arrays
declaration
c
language-lawyer
language-design
Can you declare a C pointer with its own address?
c
initialization
pointers
language-lawyer
c23
Identifying functions that don't return
function
c
language-lawyer
Can a tentative definition use the storage class specifier _Thread_local?
declaration
c
language-lawyer
Is casting "pointer to array of type" to "pointer to type" defined?
c
pointers
language-lawyer
Are there any circumstances (specific types/values) for which type-punning produces identical behavior in all Standard-conforming C implementations?
union
c
language-lawyer
portability
type-punning
Does undefined behaviour retroactively mean that earlier visible side-effects aren't guaranteed?
c
undefined-behavior
compiler-optimization
gcc
language-lawyer
Declaring a function with different function specifiers
c
language-lawyer
function-declaration
noreturn
Is it standard C17 to wrap a parameter in a function declaration in parenthesis
syntax
c
language-lawyer
function-declaration
c17
Casting a function pointer to another type
c
function-pointers
language-lawyer
Does C fill the remainder of a multidementional array with 0?
multidimensional-array
c
initialization
language-lawyer
function type vs pointer to function type in template specialization
function
c++
templates
function-pointers
language-lawyer
Is adding a uintptr_t to a pointer symmetric?
type-conversion
c
pointers
language-lawyer
Previous
1
(current)
2
3
4
5
Next