Answers for "bool c++"

C
0

how to initialize a boolean in c++

bool b1 = true;      // declaring a boolean variable with true value
Posted by: Guest on September-02-2020
0

bool c++

#include<stdio.h>
#include <stdbool.h>
main() { 
    bool value = true;
    (value) ? printf("value is true"): printf("value is false");
}
Posted by: Guest on April-30-2021

Code answers related to "C"

Browse Popular Code Answers by Language