Could you folks tell me how to calculate faster in enormous for loop and what is bool. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Could you folks tell me how to calculate faster in enormous for loop and what is bool.

Anne Livia it seems you have reached the zenith of c++.i am beginner.

27th Feb 2017, 12:33 AM
JAY RATHOD
JAY RATHOD - avatar
1 Answer
+ 3
bool is a data type that holds true or false. also 0 is false and true is 1. for example: bool a = true; boil b = false; cout<<a<<b; //the output is 10
27th Feb 2017, 1:40 AM
chris
chris - avatar