Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C++
how to initialize a boolean in c++
henceproved
Programming language:
C++
2021-03-23 11:25:08
2
Q:
how to initialize a boolean in c++
Mostafa
Code:
C++
2021-02-16 00:45:43
bool
b1 =
true
; // declaring a
boolean
variable
with
true
value
0
Tags
how
Related
bool function in c++
initialize array c++
c++ initialise array
how to string to integer in c++
initialize int c++
how to declare a 2d boolean vector in c++
declare nullptr c++
c++ boolean
how to convert string to uppercase in c++
c++ using boolean
initialize an array in c++
c++ shared pointer operator bool
New to Communities?
Join the community