| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 94 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 94 Page - STMicroelectronics |
|
94 / 185 page ![]() C compiler AN3350 94/185 Doc ID 018512 Rev 2 12.2.6 Implicit return from main() When the C99 extensions setting is on, the compiler inserts this statement at the end of a program’s main() function if the function does not return a value: return 0; 12.2.7 Non-constant static data initialization When the C99 extensions setting is on, the compiler allows static variables to be initialized with non-constant expressions. 12.2.8 Variable argument macros When the C99 extensions setting is on, the compiler allows macros to have a variable number of arguments. Example 31 shows an example. Example 31 Variable argument macros example #define MYLOG(...) fprintf(myfile, __VA_ARGS__) #define MYVERSION 1 #define MYNAME "SockSorter" int main(void) { MYLOG("%d %s\n", MYVERSION, MYNAME); /* Expands to: fprintf(myfile, "%d %s\n", 1, "SockSorter"); */ return 0; } 12.2.9 Extra C99 keywords When the C99 extensions setting is on, the compiler recognizes extra keywords and the language features they represent. Table 14 lists these keywords. 12.2.10 C++-style comments When the C99 extensions setting is on, the compiler allows C++-style comments as well as regular C comments. A C++-style comment begins with Table 14. Extra C99 keywords This keyword or combination of keywords... represents this language feature _Bool boolean data type long long integer data type restrict type qualifier inline function qualifier _Complex complex number data type _Imaginary imaginary number data type |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |