![]() Related Questions The register modifier hints to the compiler that the variable will be heavily used and should be kept in the CPU’s registers, if possible, so that it can be accessed faster. There are several restrictions Latest Answer : If a variable is defined by using register modifier it tells to the compiler that the variable is used repetedly and that variable executes fastly. Generally register variables are defined in loop counters. This variable stored in CPU registers and access ... The volatile modifier is a directive to the compiler’s optimizer that operations involving this variable should not be optimized in certain ways. There are two special cases in which use of the Yes. The const modifier means that this code cannot change the value of the variable, but that does not mean that the value cannot be changed by means outside this code. For instance, in the example in Latest Answer : But isnt like the constant variables will be stored by in ROM (read only memory).Then how can the some process other than the code can change the value of const volatile ... As described at the beginning of this chapter, some compilers for PC compatibles use two types of pointers. near pointers are 16 bits long and can address a 64KB range. far pointers are 32 bits long and Latest Answer : atthe time of 8086 , the processor operate in real modebt after that as more processor develop then there are two type of mode.2nd one is protected mode.in real mode the processor canuse only 1mb bt in protected mode one can use memory more then 1mb.as ... A storage class is an attribute that changes the behavior of a variable. It controls the lifetime, scope and linkage.There are five types of storage classes 1)auto 2)static 3)extern A large program is subdivided into a number of smaller programs or subprograms. Each subprogram specifies one or more actions to be performed for a large program.such subprograms are functions. The Latest Answer : C program uses Both built in function and function(which is also called user defined) Built in function means the declaration and defination of afunction is already known to the compiler. ... Latest Answer : By saying register to a Variable , you are just suggesting the compiler put in register.Compiler is the best person to decide, which var will go in register. I believe , we should not use register , it may confuse compiler.auto is just stack variables, ... Read Answers (3) | Asked by : Renuka Latest Answer : Apart from the above mentioned ones, the maximum number that could be stored in registers depends solely on the register size. The memory cannot be dereferenced by an 'addressof' operator for register variables. ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||