Leetcode practice  0.0
array_static.h
Go to the documentation of this file.
1 #ifndef ARRAY_ARRAY_STATIC_H_
2 #define ARRAY_ARRAY_STATIC_H_
3 
5 {
6  private:
7  int a1[5] = {1, 2, 3};
8  int size = sizeof(a1)/ sizeof(*a1);
9  public:
10  void sort_array();
11  void print_array();
12 };
13 
14 void array_static();
15 
16 #endif /* ARRAY_ARRAY_STATIC_H_ */
void array_static()
array_static - sub main function
Definition: array_static.cpp:11
Definition: array_static.h:4
void sort_array()
Sort array.
Definition: array_static.cpp:38
void print_array()
Print array.
Definition: array_static.cpp:28