Ask Question
12 September, 19:00

Which of the following is the Boolean logical operator for AND in C#?

+2
Answers (1)
  1. 12 September, 19:21
    0
    char * pch = 0; ... (pch) && (*pch = 'a');

    heres an example

    / / expre_Logical_AND_Operator. cpp / / compile with: / EHsc / / Demonstrate logical AND #include using namespace std; int main () { int a = 5, b = 10, c = 15; cout << boolalpha << "The true expression " << "a < b && b < c yields " << (a < b && b < c) << endl << "The false expression " < b && b < c yields " < b && b < c) << endl;
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following is the Boolean logical operator for AND in C#? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers