answersLogoWhite

0

character constant is 4 bytes explanation is all constants is integer

User Avatar

Wiki User

14y 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'


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.


Which is in the proper format for a character constant?

'A'


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 the size of NaCl?

The lattice constant is 5,65 angstroms.


What is Anisometry?

Shape does not remain constant as size increases.


What variables are held constant in osmosis and diffusion?

In osmosis, the concentration gradient, temperature, pressure, and size of the particles are typically held constant. In diffusion, the concentration gradient, temperature, size of the particles, and medium in which diffusion is occurring are commonly kept constant.

Trending Questions
What color does gold leaf appear when held up to the light? Is strongest a noun? What is the charge of these bits of paper on a wooden paper? What are the key principles of Newton's laws of relativity and how do they explain the behavior of objects in motion? What force must be acting on a object to be projectile? How do simple machines affect force distance through force applied and direction? How are push-pull factors relate to migration? You are looking for the very small travel size of Ponds cold cream for travel purposes Where can you find it? How many times greater is the amount of electrical energy produced in the US by coal burning power plants than the amount produced by nuclear energy? How does a theremometer work? What is a rictometer? What fundamental quantities constitute 1 ampere of electric current? How much solar energy does the sun emit? Is a datum reference used with roundness tolerancing? Why does a crampled piece of paper fall faster than a uncrampled paper? How does a fuse work to protect electrical circuits from overloading? When describing image formation for flat shiny surfaces what is an important rule to remember about light rays? Why are not attracted to the wall by gravitational force? A cord passes over a weightless and frictionless pulley masses of 200g and 300g are attached to the ends or the cord fond he distance the masses will move during the 5th second after they are start? What does the free-body diagram look like for an object in vertical circular motion?