You are on page 1of 32

1.

A character variable can store only


A. One character
B. 20 character
C. 254 character
D. None of the above
Answer:(A)
2. A c variable cannot start with
A. A number
B. An alphabet
C. A character
D. None of the above
Answer: A
3. A short integer variable occupies memory of
A. 1 byte
B. 2 bytes
C. 4 bytes
D. 8 bytes
Answer: B
4. C keywords are reserved words by
A. A compiler
B. An interpreter
C. Header file
D. Both (b) and (a)
Answer: A
5. The declaration of c variable can be done
A. Anywhere in the program
B. In declaration part
C. In executable part
D. At the end of the program
Answer:B
6. In c one statement can declare
A. Only one variable
B. Two variables
C. 10 variables
D. Any number of variables
Answer:D
7. The keyword ‘int’ is a
A. Keyword
B. Password
C. Header file
D. None of the above
Answer:A
8. The variable are initalided using
A. Greater than (>)
B. Equal to (=)
C. Twice equql to (==)
D. An increment operator (++)
Answer:B
10. An unsigned integer variable constants values
A. Greater or equal to zero
B. Less than zero
C. Only zero
D. Both (A) and (B)
Answer:A
10. The keyword ‘const’ keeps the value of a variable
A. Constant
B. Mutable
C. Variant
D. None of the above
Answer:A
11. Identifiers are
A. User define name
B. Reserved keywords
C. C statement
D. None of the above
Answer:A
12. In c every variable has
A. A type
B. A name
C. A value
D. A size
E. All od the above
Answer:B
13. The range of character data type is
A. -128 to 127
B. 0 to 255
C. 0 to 32767
D. None of the above
Answer:A
14. An unsigned integer variable occupies memory
A. 2 bytes
B. 4 bytes
C. 1 bytes
D. 8 bytes
Answer:A
15. In c double data type needs memory of size
A. 4 bytes
B. 2 bytes
C. 10 bytes
D. None of the above
Answer:D
16. In c main() is a
A. Function
B. User create functio
C. String function
D. Any number of variable
Answer:B
17. The word ‘continue’ is a
A. Keyword
B. Password
C. Header file
D. None of the above
Answer:A
18. The volatile variable are those variables that remain/can be
A. Constant
B. Change at a time
C. Both of the above
D. None of the above
Answer:B
19. In c the statement following main() are enclosed within
A. { }
B. ( )
C. < >
D. None of the above
Answer:A
20. In c the maximum value of unsigned character is
A. 255
B. 127
C. 65535
D. None of the above
Answer:A
21. The range of long signed integer is
A. -2147483648 to 2147483647
B. 0 to 255
C. 0 to 4294967295
D. None ot the above
Answer:A
22. In c ‘size’ of is a/an
A. Variable
B. Operator
C. Keyword
D. None of the above
Answer:B
23. Which of the incorrect variable name
A. else
B. Name
C. Age
D. cha_r
Answer:A
24. How many keywords are there in ANSI C ?
A. 32
B. 33
C. 42
D. 15
Answer:A
25. Integer constant in c can be
A. Positive
B. Negative
C. Positive or negative
D. None of the above
Answer:C
26. Which of the following statement is wrong ?
A. 5+5=a
B. ss=12.25
C. st=‘m’ * ’b’
D. is=‘a’ +10;
Answer:A
27. The ANSI C standard allows a minimum of
A. 31 significant characters in identifier
B. 8 significant character in identifier
C. 25 significant character in identifier
D. Unlimited character
Answer:A
28. In c the first character of the variable should be
A. An integer
B. An alphabet
C. A floating number
D. None of the above
Answer:C
29. How many variable can be initialized at a time ?
A. One
B. Two
C. Five
D. Any number of variable
Answer:D
30. Which of the following are unary operators in c ?
A. !
B. size of
C. ~
D. &
E. =
Answer:B
THANKS FOR WATCHING THIS VIDEO
PLEASE LIKE SUBSCRIBE AND SHARE THIS VIDEO

You might also like