C True False Questions
- Only character or integer can be used in switch statement
- True
- False
Answer :
B
Explanation:
The variable used in a switch statement can only be integers, convertable integers (byte, short, char), strings and enums.
Added By : Karan
- The return type of malloc function is void.
- True
- False
Added By : Pawan
- #define is known as preprocessor compiler directive.
- True
- False
Added By : Somya
- Algorithm is the graphical representation of logic.
- True
- False
Added By : Mahipal
- sizeof( ) is a function that returns the size of a variable.
- True
- 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
- The ++ operator increments the operand by 1, whereas, the -- operator decrements it by 1.
- True
- False
Added By : Srinivas
- It is necessary that a loop counter must only be an int. It cannot be a float.
- True
- False
Added By : Srinivas
- A zero value is considered to be false and a non-zero value is considered to be true.
- True
- False
Added By : Srinivas
Also Exercise
Post Your Question
Social Sharing
Facebook
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015