Select the correct option to test your answer:
Computer
Variables And Data Types In C Plus Plus
Difficulty: Medium
What will be the output of the following C++ code? #include <iostream> using namespace std; int main() { float num1 = 1.1; double num2 = 1.1; if (num1 == num2) cout << "stanford"; else cout << "harvard"; return 0; }
More Computer Questions
What does it indicate when the radix value is 16?
Which of the following is a valid way to exit a loop prematurely in C#?
Personal computers use a number of chips mounted on a main circuit board. What is the common name for such boards?
What kind of data can be run in R?
Which short cut key is used to insert copyright © symbol?