Multiple choice

void main() { print("%d%d%d", sizeof(4.14), sizeof(4.14f), sizeof(4.14L)); }

  1. 10, 4, 10

  2. Lexical error

  3. Compile error

  4. 8, 4, 4

  5. 8, 4,10

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

4.14 is double type and its size is 8 byte. 4.14f is float type and its size is 4 byte. 4.14L is long double type and its size is 10 byte.