aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Mixed General Knowledge Quiz
  • In C, sizeof(long double) = ?
Multiple choice general knowledge

In C, sizeof(long double) = ?

  1. 8

  2. 12

  3. 2

  4. 4

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

In C programming on most modern systems (particularly x86-64 with GCC), long double is 12 bytes or 96 bits, using extended precision. This is larger than double (8 bytes) and much larger than float (4 bytes). However, this is implementation-dependent.

Keep practicing — related questions

  • What is (4m + 8) (4m - 8) in expanded form?
  • What is the ouput of the following Java program? interface A{ double pi=3.14; public double Area(int r); } ...
  • All the wrapper classes (Integer, Boolean, Float, Short, Long, Double and Character) in java
  • Consider the following statements regarding meta-xylem: (a) Later formed xylem (b) Bears narrow vessels (c)...
  • Which of the following statements is/are true for carbon? (a) Carbon can form only four single covalent bon...
  • Find out the error in the following program. void main() { int t,c; scanf(Enter the values of t and c = %d ...
  • A bought poison to kill C. He mixed poison in C's food. After killing C with poison, A stole C's car and ra...
  • Which of the following statement(s) is/are true about NRZ line coding scheme? i. Average signal rate of NRZ...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Number Operations and Properties (896 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy