Hello people,
I am using Turbo-C
Can anyone give me a sample program using the bool array
I tried compiling the following code snippet. But it doesnt work.
#include<stdio.h>
#include<conio.h>
int main()
{
bool a[10]={true};
clrscr();
printf("\nHello World");
getch();
}
It gives the error Undefined Symbol bool.
But something peculiar i noticed is that,
when i declare an int (or any other data type for that matter ), its highlighted in white, but bool is not highlighted.
Is it that my Turbo-C is not able to recognize bool ?
Please reply