You are here:

C++/question about c


sir compiler compile the whole program .
compiler is also a set of program than who checks the error of compliler ?????
it means who checks for error of compiler????

The current practice is that the compiler writers (and users over a period of time) run these tests. Every  respectable mainstream compiler is tested against a suite of test cases. Writing a good test suite is expensive; some test suites are commercially available - for example

But no matter how much testing is done, the compiler is a complex program and there would still be undetected errors. The more widely the compiler is used, the more likely that errors would be unearthed and fixed over a period of time. For example:


All Answers

Answers by Expert:

Ask Experts




my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++11. i would not answer questions about gui and web programming.


about 15 years or so

post graduate engineer

©2017 All rights reserved.

[an error occurred while processing this directive]