Back to notes
What are the basic mathematical operations supported in C++?
Press to flip
Addition, subtraction, multiplication, and division.
What is the purpose of the C++ Standard Library?
To provide a collection of pre-written code that includes data structures and algorithms.
Demonstrate a simple main function to output 'Hello World' in C++.
int main() { std::cout << "Hello World"; return 0; }
What should you use to clarify complex mathematical expressions in C++?
Parentheses to ensure clarity and correct order of operations.
What keyword is used to declare a constant in C++?
const
Give an example of variable declaration with initialization.
int fileSize = 100;
What is the average salary of a C++ programmer in the U.S.?
Over $170,000/year.
What function acts as the entry point of any C++ program?
The main function.
Which major companies utilize C++?
Adobe, Google, Microsoft, Netflix, and NASA.
For Windows development, which free IDE is suggested?
Microsoft Visual Studio Community Edition.
Approximately how often are new versions of C++ released?
Every 3 years.
What are the common applications of the C++ programming language?
Performance critical applications, video games, device drivers, web browsers, servers, operating systems.
Name some popular naming conventions in C++.
Snake Case, Pascal Case, Camel Case, Hungarian Notation.
What IDE is recommended for cross-platform C++ development?
CLion.
Describe the use of std::cin in C++.
std::cin is used to read input from the console.
Previous
Next