Quote Originally Posted by kdushyant297 View Post
In code::blocks when i run it

It runs fine with output having black text in white background

But in turbo c

It shows invalid color command and then shows normal text.
It still the statement - not a question.

So instead of answer - I have 2 comments:

1. system is not a portable solution so while it can work in one environment do not expect it to work in another.
2. turbo C is 25 years old. Use it only if you have somewhere stored a 25 years old computer and plan to run your programs on it. IBM XT maybe.