Why is c faster?



Why is c faster?..

Answer / Pritam Kumar

C is generally considered faster because it has a low-level access to hardware resources and allows direct manipulation of memory, which results in more efficient execution. Additionally, C compilers produce highly optimized machine code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

1 Answers  


What is the most efficient way to count the number of bits which are set in an integer?

1 Answers  


Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.

0 Answers  


Explain how do you view the path?

1 Answers  


You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

2 Answers   Microsoft,


What are dangling pointers?

1 Answers  


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1 Answers   Amazon,


what is the role you expect in software industry?

1 Answers   HCL,


the format specified for hexa decimal is a.%d b.%o c.%x d.%u

7 Answers   TCS,


fn f(x) { if(x<=0) return; else f(x-1)+x; }

5 Answers   HCL,


print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5

3 Answers   Winit,


What is the difference between memcpy and memmove?

1 Answers  


Categories