Search code examples
Is it valid to pass the address of a non-array variable to a function parameter declared as `Type pt...


cfunctionnullstandardsundefined-behavior

Read More
Is it safe to reinterpret_cast between a Type and a Wrapper<Type>?...


c++language-lawyerundefined-behaviorreinterpret-caststrict-aliasing

Read More
Caesar segmentation fault in c language...


ccommand-line-argumentsundefined-behaviorcs50argv

Read More
Consistency and behavior of %n operator in *scanf...


cscanfundefined-behaviorglibc

Read More
How are constant struct members handled in C?...


cstructconstantsundefined-behaviorbus-error

Read More
Weird bug while passing double pointers to a function in C...


cpointersmemory-leaksundefined-behaviordereference

Read More
Is comparing two pointers with < undefined behavior if they are both cast to an integer type?...


cundefined-behavior

Read More
Value used as both output and (non-reference) input in a chain of methods...


delphiparametersundefined-behaviormethod-chaining

Read More
Difference between `do` and `do*` in Lisp?...


lispcommon-lispundefined-behavior

Read More
Question about the behavior of uninitialized pointers to integers when used in the printf function...


cpointersprintflanguage-lawyerundefined-behavior

Read More
Does an expression with undefined behaviour that is never actually executed make a program erroneous...


c++language-lawyerundefined-behavior

Read More
why char array is empty in C...


cscopeundefined-behaviorc-stringsstorage-duration

Read More
Why is a returned stack-pointer replaced by a null-pointer by gcc?...


cgccundefined-behavior

Read More
Is it undefined behavior to "trash" a return value by casting the function pointer to a vo...


cfunctioncastingfunction-pointersundefined-behavior

Read More
C++ value initialized vector iterator comparison...


c++iteratorc++17language-lawyerundefined-behavior

Read More
C undefined behaviour with fscanf...


cscanfnewlineundefined-behavior

Read More
C return address of stack variable = NULL?...


cassemblyundefined-behaviorcallstack

Read More
What exactly happens when I use the return value of a void function (by casting a function pointer)?...


c++assemblyvisual-c++x86-64undefined-behavior

Read More
C++ delete - It deletes my objects but I can still access the data?...


c++pointersundefined-behaviordelete-operatorc++-faq

Read More
Is incrementing a _Bool defined?...


cbooleanincrementundefined-behavior

Read More
Avoiding undefined behaviour: temporary objects...


c++undefined-behaviorlifetimeobject-lifetimetemporary-objects

Read More
Undefined behaviour with #define in C...


cc-preprocessorundefined-behavior

Read More
Is vector.push_back(vector.back()+1) undefined behavior?...


c++vectorundefined-behavior

Read More
c++ Why shouldn't I unlock a mutex from a different thread...


c++linuxmutexundefined-behavior

Read More
atomic_ref when external underlying type is not aligned as requested...


c++undefined-behaviormemory-alignmentc++20stdatomic

Read More
Why are "i = ++i;" and "i = ++i + 2;" undefined behavior?...


cundefined-behavioroperator-precedence

Read More
Defining "reduce" on a list in scheme...


recursionschemeundefined-behaviorfoldoperation

Read More
Is using compound assignment operator (+=, ...) on uninitialized variable NOT a UB in C++?...


c++initializationundefined-behavior

Read More
Is over/underflow an undefined behavior at execution time?...


c++cundefined-behaviorinteger-overflow

Read More
Default argument and parameter promotions in C...


cstandardsundefined-behaviorfunction-callpromotions

Read More
BackNext