as part of my job sometimes I get chance to interview C programmers, till today, number of C programmers I have interviewed none knows about new(C11 & C99) features of C programming language, some even not heard of these standards that made me to add this page, I strongly believe if we are working on product which is born out of C programming, one needs to know about C99 and C11 features as well as Safe-C libraries which improves software quality and security
C99 standard has become absolute by now, considering C11 standard which is part of our products which are written in C programming language.
if we name few missing elements in C89 programming features
1) No array bounds checking
2) No variable length arrays
3) No inline functions
4) No support for Boolean data type
5) No complex number type support
6) No single line comment (//)
7) No variable number of arguments in MACRO
8) No support for declaring variables in blocks
.
and more ..
all above elements are added in C99 standard
for complete list please check documentation of the standard ISO/IEC 9899:1999 for C99
C11(ISO/IEC 9899:2011) is newest standard for C programming which has done some changes to C99 language features such as variable length arrays, inline functions, boolean types etc, and added new ones
such as support of
1) anonymous structures and unions
2) macros to create complex numbers
3) static assertions
4) introduced functions aligned_alloc, quick_exit etc
5) removed gets() function for stdio.h
and more
we need to go through documentation of the standard ISO/IEC 9899:2011 for complete list of langauage features added and modified by C11
C99 standard has become absolute by now, considering C11 standard which is part of our products which are written in C programming language.
if we name few missing elements in C89 programming features
1) No array bounds checking
2) No variable length arrays
3) No inline functions
4) No support for Boolean data type
5) No complex number type support
6) No single line comment (//)
7) No variable number of arguments in MACRO
8) No support for declaring variables in blocks
.
and more ..
all above elements are added in C99 standard
for complete list please check documentation of the standard ISO/IEC 9899:1999 for C99
C11(ISO/IEC 9899:2011) is newest standard for C programming which has done some changes to C99 language features such as variable length arrays, inline functions, boolean types etc, and added new ones
such as support of
1) anonymous structures and unions
2) macros to create complex numbers
3) static assertions
4) introduced functions aligned_alloc, quick_exit etc
5) removed gets() function for stdio.h
and more
we need to go through documentation of the standard ISO/IEC 9899:2011 for complete list of langauage features added and modified by C11
Comments
Post a Comment