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 dynamic dispatch in c++?
Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...
What is ambagious result in C? explain with an example.
What is array of structure in c?
Concat two string with most overlapped substring has to removeĀ "abcd"+ "cdef" = "abcdef
What are terms in math?
Which is better malloc or calloc?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
Is printf a keyword?
Explain threaded binary trees?