Computer Science, asked by baranibombshell, 3 months ago

The sizeof(void) in a 32-bit C is​

Answers

Answered by MotiSani
0

Answer is 4 bytes.

On 32-bit platform Size of void is 4 bytes.

  • In fact, any kind of pointer we consider i.e., int, char or float etc. all have same size and size could be 4 bytes or 8 bytes depend upon platform we are using i.e.,32 bit or 64 bits etc.

Void:

  • In computer terms, a void can refer to a data type or object used in computer programming that does not have a return a value or type.
  • It may or may not perform a function, other than storing a value for other processes to use.

Bit:

  • A bit, short for binary digit, is defined as the most basic unit of data in telecommunications and computing.

#SPJ2

Answered by sourasghotekar123
0

Answer:

4

Explaination:

The size of the void on a 32-bit platform is 4 bytes.

Every type of pointer, including int, char, and float, has the same size, which can range from 4 to 8 bytes depending on the platform (e.g., 32 or 64 bits).

Void:

A data type or object used in computer programming that has no return value or type is referred to as void in computer lingo.

Other than holding a value for use by other processes, it might or might not serve another function.

Bit:

Bits, often known as binary digits, are the most fundamental type of data in both computing and communications.

See more:

https://brainly.in/question/17899466

#SPJ2

Similar questions