AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST?
Answers were Sorted based on User's Feedback
Answer / jaya prakash
Register.
Since the register variable is stored in CPU.
Easy to retrive and modify it.
| Is This Answer Correct ? | 11 Yes | 0 No |
Register.
Since the register variable is stored in CPU.
try once applying a programme:--
and check it it's execution time Using..
time ./a.out
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / dave
register storage class is faster.coz register accessing is
faster than main memory for the processor.for ide like
turbo,borland etc. there was a limitation in register usage.
but now for gcc and gnu ides there are millions of registers
to access.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / biju
Ofcourse register storage class is for quick access
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / rahul
register
becoz accessing value from register is more faster than
memory becoz it is in CPU.
if register is free otherwise it would become a local var.
| Is This Answer Correct ? | 2 Yes | 2 No |
What is the full form of getch?
Why does not use getgh(); and <conio.h> in c language.
write a programe returns the number of times the character appears in the string
What kind of structure is a house?
int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);
what is an ERP?
How can I read a directory in a c program?
what is object oriental programing?
how to print this sereis 2 4 3 6 5..........?
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
what is answer for perfect number????????????????
What is static and auto variables in c?