How the processor registers can be used in C ?

Answer Posted / sundeep

processor registers can be used to store variables which
are accessed frequently and if the registers are not used
by any other programs ,then those registers will be used to
allocate memory for those variabls.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

910


What is define directive?

634


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

1587


Difference between linking and loading?

686


What is calloc()?

623






What is indirection?

645


Why we use conio h in c?

580


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1654


What is the purpose of 'register' keyword in c language?

622


Can the curly brackets { } be used to enclose a single line of code?

709


What is c programming structure?

614


Explain the difference between #include "..." And #include <...> In c?

622


Explain what are header files and explain what are its uses in c programming?

623


What does %c do in c?

578


What is the use of bitwise operator?

683