answersLogoWhite

0

character constant is 4 bytes explanation is all constants is integer

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Physics
Related Questions

Is thank you is a NOT a character constant?

No, "thank you" is not a character constant. In programming, a character constant is a single character enclosed in single quotes, such as 'a' or '5'. "Thank you" is a string constant because it consists of multiple characters enclosed in double quotes.


Is 2564-61 a character's constant in C?

Not really. Character constant examples: 'S', 65, '\t'


Which is in the proper format for a character constant?

'A'


What is the difference between string type and character type constants?

A character type constant is a character, a char, while a string type is an array of characters. The character type constant is one character and is delimited by single quotes. The string type constant is zero or more characters and is delimited by double quotes.


What is difference between multi character constant and string literals?

In C, you can assign integers multiple characters such that they fit in their size. For e.g.: int - 4 bytes char - 1 byte So an assignment like this is valid: int a = 'ABCD'; The first byte in a will be assigned the value of 'A', the second - 'B' and so on. A string literal is a character array constant. It is enclosed in double quotes and assignment can only be made to a char pointer. There is no limit on the size of the literal and it is terminated with a null character. e.g.: char str[] = "This is a trial";


A number or a string of c character is called as?

Constant.


What are character constants?

A character constant is a single character in the host's character set, such as 'A', 'a', '0', '%', etc. Note the use of the single quotes instead of double quotes. (Double quotes are used for string constants, not character constants.) A character constant maps to a specific int (integer) value, but assuming anything about that relationship is non-portable.


What is an advantage of a solid?

Constant size & shape.


What is character constant in c how does it differ from numeric type constants?

hiii


What is Anisometry?

Shape does not remain constant as size increases.


What is the size of NaCl?

The lattice constant is 5,65 angstroms.


Specifies the height of the character?

size