diff options
Diffstat (limited to 'testapp/c_cpp_files/main_array_check.cpp')
-rwxr-xr-x | testapp/c_cpp_files/main_array_check.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testapp/c_cpp_files/main_array_check.cpp b/testapp/c_cpp_files/main_array_check.cpp index 38b9004..ea34fdd 100755 --- a/testapp/c_cpp_files/main_array_check.cpp +++ b/testapp/c_cpp_files/main_array_check.cpp @@ -21,13 +21,13 @@ void check(T expect,T result) int main(void) { bool result; - int a[] = {1,2,3,0,0}; + int a[] = {1,2,3,0,0}; result = array_check(a, 2); - printf("Input submitted to the function: {1, 2, 3, 0, 0} and index 2"); + printf("Input submitted to the function: {1, 2, 3, 0, 0} and index 2"); check(false, result); int b[] = {1,2,3,4,5}; - result = array_check(b, 3); - printf("Input submitted to the function: {1, 2, 3, 4, 5} and index 3"); + result = array_check(b, 3); + printf("Input submitted to the function: {1, 2, 3, 4, 5} and index 3"); check(true, result); printf("All Correct\n"); return 0; |