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 |
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.
What is string function in c?
The __________ attribute is used to announce variables based on definitions of columns in a table?
How does placing some code lines between the comment symbol help in debugging the code?
What is the purpose of clrscr () printf () and getch ()?
What is nested structure?
Write a program to print prime nums from 1-20 using c programing?
The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................
14 Answers HOV Services, IBM, Potty,
what is diff between localstatic and globalstatis variable possible 2 use in another file...?
Write a program to generate the first n terms in the series --- 9,11,20,31,...,82
21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }