Which of the following occupies more memory in c


Asked by admin @ in Computer Science viewed by 8078 People


Which data type occupies most amount of memory in c?

Answered by admin @



Long double data type occupies the most amount of memory in C.

Explanation:

The following are some of very basic data types available in C:

  • The data type "char" store a single character and occupies a single byte of memory.
  • The data type "int" store an integer and occupies 2 to 8 byte of memory.
  • The data type "float" store decimal numbers with single precision and occupies 4 bytes of memory.
  • The data type "double" store decimal numbers with double precision and occupies 8 to 12 byte of memory.
  • The data type Long double occupies 12 bytes of memory in the system.


Similar Questions

Which of the following is true of short term memory

Asked by admin @ in Biology viewed by 271 persons

Which of the following is true regarding short-term memory? answer a. it has a relatively large capacity. b. it maintains information for a few seconds or less. c. it receives …

Which of the following statements is true of working memory

Asked by admin @ in Health viewed by 270 persons

Which of the following statements is true of working memory

Which of the following is a volatile memory

Asked by admin @ in Computer Science viewed by 282 persons

Which of the following is a volatile memory- * 1 pointRAMROMLSIVLSI​

Which of the following are tokens in c

Asked by admin @ in Computer Science viewed by 308 persons

Identify which of the following are the C token(s) a) Keyword b) Constants c) operators d) All Of these

Which of the following memories is an optical memory

Asked by admin @ in Computer Science viewed by 296 persons

Which of the following memories is an optical memory​

Which of the following is a temporary primary memory

Asked by admin @ in Computer Science viewed by 292 persons

Which of these is a temporary memory?b. ROMc. Hard diska. RAM​

Which of the following refers to the associative memory

Asked by admin @ in Computer Science viewed by 301 persons

Which of the following refers to the associative memory? a)the address of the data is generated by the cpu b)the address of the data is supplied by the users c)there …

Which of the following approach is adapted by c++

Asked by admin @ in Computer Science viewed by 305 persons

A) Which of the following approach is adapted by ‘C++?. i) Top-downii) Bottom-upiii) Right-leftiv) Left-right​

Which of the following is a secondary memory device

Asked by admin @ in English viewed by 287 persons

Tick(/) the correct answer:1. Which of the following is a secondary memory device?​

Which of the following is not a keyword in c

Asked by admin @ in Computer Science viewed by 249 persons

Which of the following is not a keyword in C? a) const b) main c) size of d) void

Which of the following memory devices is volatile in nature

Asked by admin @ in Computer Science viewed by 263 persons

Which of the following is volatile in nature? RAM ,ROM​

Which of the following is a solid strategy for memory

Asked by maham237 @ in SAT viewed by 369 persons

A) draw pictures or diagrams. B) learn everything there is to know about the subject. C) memorize fact after fact. D) dont revew the information needed until the night before …

Which of the following is a valid c++ array definition

Asked by admin @ in Computers and Technology viewed by 309 persons

Which of the following is a valid C++ array definition? A. int array[0]; B. float $payments[10]; C. void numbers[5]; D. int array[10];

Which of the following require large computer memory

Asked by admin @ in English viewed by 307 persons

Which of the following require large computer memory? Graphic, images , voice

What will be output of the following c code

Asked by admin @ in Computer Science viewed by 333 persons

Q.16:What will be the output of the following C code? #include void main() { int x = 4, y, z; y =- -X, Z = X--; printf("%d%d%d", x, y, z); …

Most viewed questions in Computer Science


A programmer mistakenly writes gor instead of for

Asked by admin @ in Computer Science viewed by 18968 persons


Domestic data entry operator ncert book class 9 solutions

Asked by admin @ in Computer Science viewed by 15666 persons


Information technology code 402 class 9 solutions chapter 1

Asked by admin @ in Computer Science viewed by 10905 persons



Ncert solutions for class 8 computer chapter 1 computer system

Asked by admin @ in Computer Science viewed by 10351 persons


A scrum team works on a 4 weeks sprint

Asked by admin @ in Computer Science viewed by 8677 persons


Which of the following occupies more memory in c

Asked by admin @ in Computer Science viewed by 8078 persons



A database of motor vehicles has the base entity

Asked by admin @ in Computer Science viewed by 7802 persons


The network architecture can be termed as a mcq

Asked by admin @ in Computer Science viewed by 6436 persons


Cat5 and cat6 cabling refer to which reference model layer

Asked by admin @ in Computer Science viewed by 5731 persons



Class 7 computer chapter 3 questions and answers

Asked by admin @ in Computer Science viewed by 5632 persons


Choose the correct options about usability and user experience

Asked by admin @ in Computer Science viewed by 5417 persons


Which advocates daily team meetings for coordination and integration

Asked by admin @ in Computer Science viewed by 4934 persons



Which three security features match the database security level

Asked by admin @ in Computer Science viewed by 4926 persons


Which of the dbms package is not available

Asked by admin @ in Computer Science viewed by 4648 persons


________ aid a business grow and attain its objectives

Asked by admin @ in Computer Science viewed by 4444 persons