end of w2lec1
This commit is contained in:
15
Lecture/Week2/main2.cpp
Normal file
15
Lecture/Week2/main2.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
// int length;
|
||||
// cin >> length;
|
||||
int array1[3] = {3, 10, 40};
|
||||
cout << array1 << endl;
|
||||
cout << *array1 << endl;
|
||||
cout << array1 << endl;
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user