Algorithms Quiz | SP2 Contest 1 | Question 10
Which of the following statement(s) is/are True about Data-Types in C?
- If no data type is given to a variable, then the compiler automatically convert it to int data type.
- Signed is the default modifier for char and int data types.
- We can use any modifiers in the float data type.
- We can use any modifiers in double data type.
(A) Only 1
(B) Only 3
(C) Both 1 and 2
(D) All of the above
Answer: (C)
Explanation: Please refer: https://www.geeksforgeeks.org/interesting-facts-about-data-types-and-modifiers-in-c-cpp/
Quiz of this Question
Please comment below if you find anything wrong in the above post