Search code examples
How to set a pointer to an integer in a compound literal that is initialized in a function?...


cstructcompound-literalsc23

Read More
Use of compound literal inside a function to init a variable in C...


arrayscstructcompound-literals

Read More
Why does return of a compound literal (C99) generate more assembly code?...


cassemblycompilationc99compound-literals

Read More
Can I declare an array of different length arrays in C without variable names?...


arrayscinitializationdeclarationcompound-literals

Read More
Weird macros for defining constants...


macrosc-preprocessorc99compound-literals

Read More
Compound literals in MSVC...


c++cvisual-studio-2010gcccompound-literals

Read More
is this invalid C++?...


c++compound-literals

Read More
Does the C11/C17 Standard allow the compiler to clobber compound literals' memory?...


cc11compound-literalsc17

Read More
Why can GCC not handle compile-time evaluation of compound literal in a ternary with sizeof as a con...


cgccconditional-operatorcompile-timecompound-literals

Read More
How to initialize a compound literal with a value of the same type?...


cstructcompound-literals

Read More
Is it safe to return a pointer to a compound literal declared within a function or should you use ma...


cmemory-managementdynamic-memory-allocationcompound-literals

Read More
Cannot assign address to pointer array?...


cesp8266compound-literals

Read More
Flat-list initializer for an array in C...


arrayscmultidimensional-arrayinitializationcompound-literals

Read More
Initialize block-scope static const variable with pointer to compound literal?...


clanguage-lawyerc99compound-literalsc23

Read More
Lifetime of a compound literal...


cgccclanglanguage-lawyercompound-literals

Read More
Initializing a dynamically allocated array with a compound literal...


cdynamic-memory-allocationtypedefcompound-literals

Read More
How to get a specific aligment for compound literals?...


cgccalignmentcompound-literals

Read More
C Empty Struct Pointer on Stack...


cpointersstructdeclarationcompound-literals

Read More
Why does Clang complain an "initializer element is not a compile-time constant" for a loca...


cmacrosclangcompound-literals

Read More
C99 compound literal passed to function parameter and returned by the same function...


cc99compound-literals

Read More
warning: initialization of 'int *' from ' int' makes pointer from integer without a ...


arrayscpointersinitializationcompound-literals

Read More
Array type safety function arguments accessed with compound literal...


ccompound-literals

Read More
structs direct declaration in C...


cstructinitializationassignment-operatorcompound-literals

Read More
Compound literal for two-dimensional array of strings...


arrayscc99compound-literals

Read More
initialization of ‘char’ from ‘char *’ makes integer from pointer without a cast...


arrayscstructinitializationcompound-literals

Read More
C: static initialisation of compound struct with pointers...


cpointersstructcompound-literals

Read More
Compound literal is created once for a given scope...


clanguage-lawyerundefined-behaviorcompound-literals

Read More
Double evaluation within macro: a case of sizeof() to determine array's size passed as compound ...


c-preprocessorsizeofc99compound-literals

Read More
How to initialize array of structures after declaration in C...


cstructcompound-literals

Read More
Difference between string literal and const char[], or char[]...


cconstantsstring-literalscompound-literals

Read More
BackNext