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
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); }
What is define directive?
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.
Difference between linking and loading?
What is calloc()?
What is indirection?
Why we use conio h in c?
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?
What is the purpose of 'register' keyword in c language?
Can the curly brackets { } be used to enclose a single line of code?
What is c programming structure?
Explain the difference between #include "..." And #include <...> In c?
Explain what are header files and explain what are its uses in c programming?
What does %c do in c?
What is the use of bitwise operator?