C True False Questions

  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

  1. Switch statement can have any number of case instances
    1. True
    2. False
Answer :
A
Explanation:
Added By : Abhijit Kumar

  1. Two case constants within the same switch statement can have the same value.
    1. True
    2. False
Answer :
B
Explanation:
Added By : Abhijit Kumar


  1. ferror( ) reports any error that might have occurred during a read/write operation on a file.
    1. True
    2. False
Answer :
A
Explanation:
Added By : Mukesh

  1. A file opened for writing already exists its contents would be overwritten.
    1. True
    2. False
Answer :
A
Explanation:
Added By : Mukesh

Social Sharing
Search