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.


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 bytes are there in 4 kilobytes of memory?

4,096 In computer memory, "kilo" refers to 2 to the 10th power, or 1024, rather than to 1000.


How many bytes of memory are needed to store a full screen of data if the screen is made of 24 lines with 80 characters in each line the system uses ascii code with each ascii character stored as?

15,383 Bytes