Top "C11" questions

C11 is the informal name of an older standard version (ISO/IEC 9899:2011) of the C programming language.

Undefined reference to memcpy_s

I'm trying to fix an undefined reference to memcpy_s() error. I've included string.h in my file and the …

c memcpy undefined-reference c11 tr24731
M_PI not available with gcc --std=c11 but with --std=gnu11?

I noticed M_PI is unavailable on c11. By looking at /usr/include/math.h I can see M_PI …

c gcc c11
Compilers that support C11

I was wondering if there are any compilers that support a considerable amount of the new C11 standard. Looking for …

c compiler-construction c11
Why does "noreturn" function return?

I read this question about noreturn attribute, which is used for functions that don't return to the caller. Then I …

c assembly c11 function-call noreturn
Why does "sizeof(a ? true : false)" give an output of four bytes?

I have a small piece of code about the sizeof operator with the ternary operator: #include <stdio.h> #…

c boolean sizeof conditional-operator c11
Standard way in C11 and C++11 to convert UTF-8?

C11 and C++11 both introduce the uchar.h/cuchar header defining char16_t and char32_t as explicitly 16 and 32 bit …

c++11 unicode utf-8 character-encoding c11
How do I use a binary prefix in accordance with C11?

I am currently starting out with programming micro controllers using C30 (A C compiler based on GCC from microchip for …

c compiler-construction standards standards-compliance c11
undefined reference to `scanf_s'

I've got a piece of coursework to get done quickly which requires me to be able to debug the code …

c scanf c11 tr24731
Why does C++11 not support anonymous structs, while C11 does?

C11 supports anonymous structures, like so: struct Foo { struct { size_t x, y; }; }; struct Foo f; f.x = 17; f.y = 42; …

c++ c c++11 anonymous-types c11
Header for scanf_s function

While answering this question I compiled the code on Ideone and got this error implicit declaration of function ‘scanf_s’ […

c header-files c11 tr24731 implicit-declaration