Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Array declaration by specifying the size in C++

#include <iostream>
int main() {
    
// Array declaration by specifying size
int array1[10];
int a = 10;
int array2[a];

}
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Array #declaration #size
ADD COMMENT
Topic
Name
7+1 =