1. Define Floating point Constant.
A constant that contains a real number.
It includes a integer portion, a decimal point, a fractional portion and an exponent.
Mandatory must have either integer part of fractional part.
Can be signed.
Example:
12.33,100.00,0.66,5.864E1.
2. Define String/String literals.
A String is a sequence of characters.
Is is terminated with an escape sequence ‘\0’ (String terminator).
A string is implemented as a single dimension character array.
Example:
char name[10]={“CHARLES”};
3. What do you mean by association?
When using operators in C / C++, it is not evaluated as it is type.
Instead it is evaluated in a different order of precedence, determined earlier
(Compare with BODMAS rule of mathematics)
This logical grouping of operators for the purpose of evalutaion is called associtation
4. Define Storage Class (or) Storage Qualifier (or) Storage Specifier.
It is a qualifier which can be prefixed with a variable declaration.
It changes the behaviour of a variable(availability or visibility).
Important Storage specifiers are
Auto
Static
Register
Extern
Example:
auto int (..)
static float f=1.56;
extern int fact;
register int r;