Answers for "Statements"

C++
0

Statements

int main() {
    int n = 1;                        // declaration statement
    n = n + 1;                        // expression statement
    std::cout << "n = " << n << '\n'; // expression statement
    return 0;                         // return statement
}
Posted by: Guest on October-27-2021

Browse Popular Code Answers by Language