Set 3
Variable And Data Types 3
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 pointsC Language developed at _________?
Correct
Incorrect
-
Question 2 of 10
2. Question
1 pointsFor 16-bit compiler allowable range for integer constants is ________?
Correct
In a 16 Bit C compiler we have 2 bytes to store an integer, and 1 byte for a character.
For unsigned integers the range is 0 to 65535.
For signed integers the range is -32768 to 32767.
For unsigned character, 0 to 255Incorrect
In a 16 Bit C compiler we have 2 bytes to store an integer, and 1 byte for a character.
For unsigned integers the range is 0 to 65535.
For signed integers the range is -32768 to 32767.
For unsigned character, 0 to 255 -
Question 3 of 10
3. Question
1 pointsC programs are converted into machine language with the help of
Correct
Incorrect
-
Question 4 of 10
4. Question
1 pointsC was primarily developed as
Correct
Incorrect
-
Question 5 of 10
5. Question
1 pointsStandard ANSI C recognizes ______ number of keywords?
Correct
Incorrect
-
Question 6 of 10
6. Question
1 pointsWhich one of the following is not a reserved keyword for C?
Correct
Incorrect
-
Question 7 of 10
7. Question
1 pointsA C variable can start with
Correct
Incorrect
-
Question 8 of 10
8. Question
1 pointsWhich one of the following is not a valid identifier?
Correct
Incorrect
-
Question 9 of 10
9. Question
1 pointsWhat will be printed after execution of the following program code?
main()
{
printf(“Hello\b\bHi”);
}
Correct
\b – backspace – printf(“Hello\b\bHI“); – Cursor moves back 2 positions of “Hello” and then Hi is printed. So the output comes as HelHi
Incorrect
\b – backspace – printf(“Hello\b\bHI“); – Cursor moves back 2 positions of “Hello” and then Hi is printed. So the output comes as HelHi
-
Question 10 of 10
10. Question
1 pointsWhat is the correct value to return to the operating system upon the successful completion of a program?
Correct
Incorrect