Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

An Array declaration by initializing elements in C++

#include <iostream>
int main() {
    
// Array declaration by initializing elements
int array[] = { 1, 2, 3, 4 }

}
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #An #Array #declaration #initializing #elements
ADD COMMENT
Topic
Name
4+4 =