Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main()
- {
- static int defaultInizializedLocal[2];
- int uninitialized[4];
- int numbers[3] = [13,42,55];
- char abc[] = {'a', 'a'+1, 99};
- char xyz[] = "xyz";
- float emptyArray[] = {};
- double arrayWithDefaults[3] = {3.14};
- int initList[] {13,42,49};
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement