C

Asked • 03/19/19

Is bool a native C type?

I've noticed that the Linux kernel code uses bool, but I thought that bool was a C++ type. Is bool a standard C extension (e.g., ISO C90) or a GCC extension?

1 Expert Answer

By:

Mayank S. answered • 07/04/20

Tutor
New to Wyzant

C/C++ Programmer at Top Hedge Fund/Algo Trading

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.