C Programming, Programming, Programming In 5 Minutes, Fundamentals, C Plus Plus Training.
main() { // Main function std::cout << "Hello, World!" << std::endl; // Statement return 0; // Return statement } 3. Variables and Data Types C++ has several basic data types like: int: Integer float: Floating-point number double: Double-precision floating-point number char: Character bool: Boolean