Data Types, Variables and Storage Classes
Description: Data types Variables and Storage Classes | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: Data types Variables and Storage Classes Placement Papers Data Types Variables and Storage Classes |
What will be the output of the following set of codes after execution? void main() { printf(“%d %d %d ”,56,056,0x56); }
What will be the output of the following set of code after execution?
void main() { printf(“%c %d”,'C','C'); }
What will be the output of the following set of codes after execution?
void main() { int m=32769; unsigned int n=65540; printf(“%d %u”,m,n); }
What will be the output of the following set of code after execution?
void main() { float m=3.6e38; printf(“%f”,m); }
Which one does not act as an identifier?
What will be the output of the following set of code after execution?
void main() { printf(“ABC +CDE”); }
Which of the following does not belong to basic data type?
Which one is wrong with respect to variable name in C language?
The C language was intended for
Which format specifier is used for printing an unsigned integer in hexadecimal number system?
If C language uses two bytes of memory for storing the integer data type, what is the maximum value that an integer data type accommodates?
If there is a string constant “abcdefdgi”, how many bytes are required to store it in memory?
What will be the output of the following set of code after execution?
void main() { printf(“%d %d”,sizeof('9'),sizeof(567)); }
Characteristics of variable in C language are:
Which storage class declared the identifiers in the global scope?
Which of the following is the default storage class in C language?
Which of the following is not the valid header file?
In C language, which is/are the derived data type(s)?
How many keywords are there in C language?
What will be the output of the following set of codes after execution?
void main() { printf(“%d”,sizeof(' ')); }