C Language – Exercise – 1

16. Which operator in C is called a ternary operator ?

(a) if-then
(b) ++
(c) ?
(d) ( )

Answer
Answer : (c)
Explanation
Explanation : No answer description available for this question. Let us discuss.
Discuss
Discuss : Write your answer. Click here.

17. Which of the following is not a key word in C language ?

(a) for
(b) if
(c) pop
(d) union

Answer
Answer : (c)
Explanation
Explanation : No answer description available for this question. Let us discuss.
Discuss
Discuss : Write your answer. Click here.

18. Which of the following is not a valid real constant in C language ?

(a) 426
(b) 321.121
(c) -621.231
(d) 201.2314

Answer
Answer : (a)
Explanation
Explanation : No answer description available for this question. Let us discuss.
Discuss
Discuss : Write your answer. Click here.

19. Which of the following is not a valid integer constant in C ?

(a) 321
(b) -162
(c) -621.231
(d) 1

Answer
Answer : (c)
Explanation
Explanation : No answer description available for this question. Let us discuss.
Discuss
Discuss : Write your answer. Click here.

20. Which of the following is not correct in C ?

(a) 6/4 =1
(b) 2/5=0
(c) 2.0/5=0
(d) 2.0/5.0=0.4

Answer
Answer : (c)
Explanation
Explanation : No answer description available for this question. Let us discuss.
Discuss
Discuss : Write your answer. Click here.

Related Posts

  • C Language - 14C Language » Exercise - 114. The size of string variable is ? (a) 1 byte (b) 8 bytes (c) 16 bytes (d) None of these
    Tags: bytes, language, size, variable, byte, general, computer
  • C Language - 12C Language » Exercise - 112. What will be the maximum size of a double variable ? (a) 1 byte (b) 4 bytes (c) 8 bytes (d) 16 bytes
    Tags: bytes, language, size, variable, byte, general, computer
  • C Language - 9C Language » Exercise - 19. What will be the maximum size of a float variable in C ? (a) 1 byte (b) 2 bytes (c) 4 bytes (d) 8 bytes
    Tags: bytes, language, size, variable, byte, general, computer
  • C Language - 6C Language » Exercise - 16. In C language ++ is ? (a) Arithmetic operator (b) Relational operator (c) Increment operators (d) None of these
    Tags: language, operator, operators, general, computer
  • C Language - 5C Language » Exercise - 15. In a C language && is a ? (a) Relational operator (b) Logical operator (c) Arithmetic operators (d) None of these
    Tags: language, operator, operators, general, computer