cklangford98 cklangford98
  • 06-03-2018
  • Computers and Technology
contestada

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

Respuesta :

xplass
xplass xplass
  • 06-03-2018
char *pch = 0; ... (pch) && (*pch = 'a');

heres an example

// expre_Logical_AND_Operator.cpp // compile with: /EHsc // Demonstrate logical AND #include <iostream> 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 " << "a > b && b < c yields " << (a > b && b < c) << endl;
Answer Link

Otras preguntas

The following information is given for Tripp Company, which uses the indirect method
Put the following fractions in order from greatest to least:a. 7/10b. 4/3c. 8/4d. 7/5
Someone help me figure out the equation for this please
Which type of poetry has no rules for formatting or structure
idea principal de besacalles
What is the purpose of the "circular flow model of a market economy?" A. It shows how the government interacts with households and firms in the marketplace. B
Triangle has an area of ten square meters. The height of the triangle is 5 meters what is the base of the triangle
What does LLC stand for
flogx=219.27 , G.M = 67.19 Find f
What was the Oslo accord and the Camp David peace process?