What is optimization in c?



What is optimization in c?..

Answer / Jay Vardhan Hemant

Optimization in C refers to techniques applied during or after program development that improve the efficiency of the compiled code. This can include minimizing memory usage, reducing execution time, and improving cache locality.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is the purpose of 'register' keyword?

1 Answers  


Is main() is used in the program,,see below example? void main() { int i; for(i=0;i<10;i++) main(); } Then what is the output of the program?

6 Answers  


What is the difference between calloc() and realloc()?

1 Answers  


when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none

7 Answers   HCL,


What are the 5 types of organizational structures?

1 Answers  


What is the use of f in c?

1 Answers  


What is the use of a static variable in c?

1 Answers  


Write a simple code fragment that will check if a number is positive or negative.

1 Answers  


What is the mean of function?

1 Answers  


what is function pointer?

2 Answers   Wipro,


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

1 Answers  


Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?

1 Answers   Infosys,


Categories