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

Frederick the great of Prussia A)abolished serfdom B)enlarged the army C)replaced aristocratic officers D)eliminated religious toleration.
original 45 new 30 what is the percent of decrease?
What brings water from the roots to the leaf
A crew is made up of 8 men; the rest are women. 66 1/3% of the crew are men. How many people are in the crew?
Solve for y. Then, identify the slope and y-intercept 6x-3y=18
Arctic plains,called tundra,cover the northern parts of which two lands region
Put the words to make an English proverb. 1) than 2) speak 3) actions 4) words 5) louder
The Andes mountains features a lot of fantastic photographs of steep mountainsides
When conducting scientific research or experimentation, researchers carefully analyze and evaluate results to determine a valid conclusion. A scientist conducts
What is the official language of Belize?