Alex Rivera | Logout

Is C99 backward compatible with C89?

Asked 2009-11-16T01:56:37.963
17

I'm used to old-style C and and have just recently started to explore c99 features. I've just one question: Will my program compile successfully if I use c99 in my program, the c99 flag with gcc and link it with prior c99 libraries?

So, should I stick to old C89 or evolve?

c c99
Edit
Report

1 Answer

2

If you don't violate the explicit C99 features,a c90 code will work fine c99 flag with another prior c99 libraries.

But there are some dos based libraries in C89 like ,, that will certainly not work.

C99 is much flexible so feel free to migrate :-)

answered 2009-11-16T02:26:51.657

Your Answer