Set 2
This section on C questions and answers focuses on “Variable and data types”. One shall practice these interview questions to improve their C programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive exams. These questions can be attempted by anyone focusing on learning C Programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C Interview questions come with the detailed explanation of the answers which helps in better understanding of C concepts.
Variable And Data Types 2
Quiz-summary
0 of 10 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Information
Variables And Data Types
Questions based on:
* Data Types in C language
* Format Specifiers
* Tokens
* Identifiers
* Constants
* Keywords
* Operators
* sizeof()
* enum
* typedef
* typecasting, etc.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 10 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Answered
- Review
-
Question 1 of 10
1. Question
1 pointsThe format identifier ‘%d’ is used for _____ data type?
Correct
Incorrect
-
Question 2 of 10
2. Question
1 pointssizeof(int) will be _____ ?
Correct
Incorrect
-
Question 3 of 10
3. Question
1 pointssizeof(float) will be _____ ?
Correct
Incorrect
-
Question 4 of 10
4. Question
1 pointssizeof(char) will be _____ ?
Correct
Incorrect
-
Question 5 of 10
5. Question
1 pointssizeof(double) will be _____ ?
Correct
Incorrect
-
Question 6 of 10
6. Question
1 pointssizeof(long) will be _____ ?
Correct
Incorrect
-
Question 7 of 10
7. Question
1 pointssizeof(long double) will be _____ ?
Correct
Incorrect
-
Question 8 of 10
8. Question
1 pointssizeof(signed int) will be _____ ?
Correct
Incorrect
-
Question 9 of 10
9. Question
1 pointssizeof(signed long) will be _____ ?
Correct
Incorrect
-
Question 10 of 10
10. Question
1 pointssizeof(unsigned long) will be _____ ?
Correct
Incorrect