answersLogoWhite

0

Register in c

User Avatar

Anonymous

14y ago
Updated: 8/16/2019

A storage class, outdated but still usable. Example:

size_t strlen (register char *p)

{

register char *s= p-1;

while (*++s);

return s-p;

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you register for turbo C?

Ask your teacher.


What does c mean on the school register?

that you are on holydays.


Is it possible to declare a keyword as an identifier in c plus plus?

No. Keywords are reserved and cannot be used as identifiers. However, C/C++ is case-sensitive. So although register is a reserved keyword, Register is not.


What is Advantages of register variables in C?

Faster execution of code.


Do you have to register a motorcycle in pa?

you have to be able to have a class c licence


What are register variables in c?

A register specifier for a variable is a compiler hint that the variable is used often and should be kept in a CPU register. The compiler will treat the variable as automatic, but it will give it preference for staying in a register between sequence points.


What is the difference between normal variable and register variable in c?

In C/C++ when we declare a variable; e.g int var; for this variable (i.e. var) memory is being reserved in RAM (i.e out side processor). If we declare variable like that; register int var2; for this variable memory is being reserved in register of CPU (i.e. withing processor) But register variables are discouraged because processor has to work with registers..... Note: strictly speaking, storage class 'register' means: dear compiler, you might optimize this variable into register, as I won't ever request its address. But of course, it's up to you to decide.


What are the different storage class in C programming?

Automatic, register, external, static


Where is a c high in a clarinet?

Hold down register key and cover thumb hole.


How do you play b sharp on a bass clarinet?

B# is the same as C. So low C would be all fingers down, low E key and the bottom thumb key (if your bass clarinet has a low C) Middle C is thumb and 1st 3 fingers Upper C is thumb, register key, all 6 fingers down plus the bottom C key (on either hand) High C is thumb and register key (Super C is thumb, register key and index fingers)


What is the assembly language program for multiplication of two numbers in 8085?

XRA A // Set A register to 0 LXI B,0909 // Load 9 into register B and 9 into register C // These are the numbers to multiply (adjust accordingly) LOOP: ADD B // Adds 9 to register A // If your assembler does not handle variables, // drop the LOOP: and refer to the line number // when you want to return to this point DCR C // decrease the value in register C by one JNZ LOOP // checks for Zero flag, if not found returns to LOOP // use the two bytes of your line number if you can not use LOOP HLT // Halt your program


What has the author C D Legge written?

C. D. Legge has written: 'Register of research in progress in adult education 1974 and 1975'