C True False Questions

  1. sizeof( ) is a function that returns the size of a variable.
    1. True
    2. False
Answer :
B
Explanation:

Sizeof() is a operator in the C programming language. It is a compile time unary operator which can be used to compute the size of its operand.

Added By : Rachita

  1. The ++ operator increments the operand by 1, whereas, the -- operator decrements it by 1.
    1. True
    2. False
Answer :
A
Explanation:
Added By : Srinivas


  1. It is necessary that a loop counter must only be an int. It cannot be a float.
    1. True
    2. False
Answer :
B
Explanation:
You can use float and int as a loop counter.
Added By : Srinivas

  1. A zero value is considered to be false and a non-zero value is considered to be true.
    1. True
    2. False
Answer :
A
Explanation:
Added By : Srinivas

  1. = is used for comparison, whereas, == is used for assignment of two quantities.
    1. True
    2. False
Answer :
B
Explanation:
Added By : Srinivas

  1. Blank spaces may be inserted between two words to improve the readability of the statement.
    1. True
    2. False
Answer :
A
Explanation:
We can insert blank spaces between two words to improve the readability of the statement but no blank spaces are allowed within a variable, constant or keyword.
Added By : Arya Bansal


  1. The keywords cannot be used as variable names.
    1. True
    2. False
Answer :
A
Explanation:
If we create a variable with same name as keyword means we are trying to assign a new meaning to the keyword, which is not allowed by the compiler.
Added By : Arya Bansal

  1. continue keyword skip one iteration of loop?
    1. True
    2. False
Answer :
A
Explanation:
Added By : Abhijit Kumar

Post Your Question
Social Sharing
Search