C Programming INTERVIEW QUESTIONS
5. |
Describe about c standards? |
|
- C89/C90 standard – First standardized specifications for C language was developed by American National Standards Institute in 1989. C89 and C90 standards refer to the same programming language.
-
C99 standard – Next revision was published in 1999 that introduced new features like advanced data types and other languages.
-
C11 standard adds new features to C and library like type generic macros, anonymous structures, improved Unicode support, atomic operations, multi threading, and bounds checked functions. It also makes some portion of the existing C99 library optional, and improves compatibility with C++.
|
6. |
What is pragma in C? |
|
#pragma is a pre processor macro in C. It is used to call a function before and after main function in a C program. |
7. |
What is modifiers in C? |
|
- The amount of memory space to be allocated for a variable is derived by modifiers.
-
Modifiers are prefixed with basic data types to modify the amount of storage space allocated to a variable.
|
8. |
Can variable name start with numbers? |
|
No. Variable names can't start with numbers as per the variable naming rule. |