answersLogoWhite

0

It doesn't.

Try this

#include <stdio.h>

#include <wchar.h>

int main (void) {

printf ("sizeof (char)=%d, sizeof (wchar_t)=%d\n",

(int)sizeof (char), (int)sizeof (wchar_t));

return 0;

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What is data file?

it may require a large amount of data to be read,processed and also served for latter use.such memory is store ion the auxiliary memory device in form of data file.the data file is collection of bytes.


What function allocate n bytes in heap memory?

malloc


How many bytes does date DD-MM-YYYY datatype occupy in java?

A java.util.Date object will take about 32 bytes in memory.


Are pointers integers?

A pointer holds a memory address, from 0 to the upper limit of your memory (in 32 bit addressing this is up to 2^32, 64 bit is up to 2^64 bytes). So in math terms, a pointer could be considered a non-negative integer. However this is not the same as the integer type used in C and other languages, which refers to how the data at that memory address (the raw bits) is interpreted by the system. So the expression "int *x;" declares a pointer to an integer, but x is a memory address, not a literal C-style integer. The value pointed to by x, however, will be interpreted as a literal C-style integer. It may be easier to see using a pointer to a char: char character = 'C'; char *pointerToCharacter = character; In this case, character is a standard char variable, and pointerToCharacter is a pointer (which is a memory address) that points to the location in memory of a character.


How many bytes are occupied by declaring following array of characters?

A single-byte type of array has 1 byte per character; a wide-character array has 2 bytes per character of storage. Without seeing the exact definition it cannot be determined what the actual size of the array would be.

Related Questions

What is the size of character constant?

character constant is 4 bytes explanation is all constants is integer


Ram memory is measured in bytes how many bytes are there in 2gb of ram memory?

2147483648 bytes


What is better more memory or more bytes?

Its the same. The unit for memory is bytes.


What are bites on a computer?

Bytes are what computers use for memory. They store digital information that the computer uses.Example: An average song is about 6 megabytes or roughly 6000000 bytes


How many bytes of memory does an integer occupy?

4 bytes


Consider a 256x8 RAM chip a- How many 256x8 Ram chip are needed to provide a memory capacity of 4096 bytes b- How many bits will each memory address contain and address line must go to each chip?

a) To provide a memory capacity of 4096 bytes using 256x8 RAM chips, you need 4096 bytes / 256 bytes per chip = 16 chips. b) Each memory address for the 256 locations in a chip will require 8 bits (since 2^8 = 256). Therefore, each chip will require 8 address lines to select one of the 256 locations.


How many bytes in 16k memory?

A kilobyte (or a k) is 1024 bytes, so 16k is 16*1024 bytes or 16384 bytes.


If there are 1000 memory locations and word length is 2 bytes what is the storage capacity of the memory?

The storage capacity of the memory can be calculated by multiplying the number of memory locations by the word length. With 1000 memory locations and a word length of 2 bytes, the total storage capacity is 1000 locations × 2 bytes/location = 2000 bytes. This is equivalent to 2 kilobytes (KB), as 1 KB equals 1024 bytes.


Does CMOS configuration chip have a little amount of memory?

Approximately 512 bytes. About enough to store a 500 character plain text file.


What are bytes used to represent?

bytes are used to represent the amount of capacity in a memory


What is memory measurement?

The memory in the computer is stored in the form of bits and bytes


How many 1288RAM memory chips are required to contruct RAM memory system of 2 bytes?

To construct a RAM memory system of 2 bytes using 1288 RAM memory chips, first, determine the capacity of a single 1288 chip. Each 1288 chip typically has 128 bits (or 16 bytes). Therefore, to achieve 2 bytes, you would need 2 bytes / 16 bytes per chip = 0.125 chips. Since you cannot use a fraction of a chip, you would need at least 1 chip to construct the RAM memory system of 2 bytes.