Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Statements

int main() {
    int n = 1;                        // declaration statement
    n = n + 1;                        // expression statement
    std::cout << "n = " << n << '
'; // expression statement
    return 0;                         // return statement
}
Source by en.cppreference.com #
 
PREVIOUS NEXT
Tagged: #Statements
ADD COMMENT
Topic
Name
2+9 =