If we can have
Then why can't we haveCode:int MyArray[5] = {1,2,3,4,5};
?Code:int a; int b; int c; int d; int e; int MyArray[5] = {a,b,c,d,e};
The first one compiles fine, but the second doesn't.
If we can have
Then why can't we haveCode:int MyArray[5] = {1,2,3,4,5};
?Code:int a; int b; int c; int d; int e; int MyArray[5] = {a,b,c,d,e};
The first one compiles fine, but the second doesn't.
There are currently 1 users browsing this thread. (0 members and 1 guests)