|
Question |
Rating |
View Answer |
|
Differentiate between an internal static and external static variable? |
|
View Answer |
|
What are the advantages of auto variables? |
|
View Answer |
|
What is storage class and what are storage variable ? |
|
View Answer |
|
What is the benefit of using an enum rather than a #define constant? |
|
View Answer |
|
What is the benefit of using #define to declare a constant? |
|
View Answer |
|
What is the benefit of using const for declaring constants? |
|
View Answer |
|
Can static variables be declared in a header file? |
|
View Answer |
|
What is the difference between declaring a variable and defining a variable? |
|
View Answer |
|
Is it acceptable to declare/define a variable in a C header? |
|
View Answer |
|
How can you determine the maximum value that a numeric variable can hold? |
|
View Answer |
|
Can a variable be both const and volatile? |
|
View Answer |
|
What is an lvalue? |
|
View Answer |
|
Where are the auto variables stored? What is the use of register variables?
|
|
View Answer |
|
How to swap the content of two variables without a temporary variable
|
|
View Answer |
|
A switch statement cannot include
a) constants as arguments b) constant expression as arguments c) string as an argument d) None of the above
|
|
View Answer |
|
What is the type of the variable b in the following declaration? #define FLOATPTR float* FLOATPTR a,b;
a) float b) float pointer c) int d) int pointer
|
|
View Answer |
|
Can a variable be both const and volatile?
|
|
View Answer |
|
Can static variables be declared in a header file?
|
|
View Answer |
|
What is an lvalue?
|
|
View Answer |
|
What is the difference between declaring a variable and defining a variable?
|
|
View Answer |