From 7dc3a9ecc98d88f6c1065265f8f530705a76e9b9 Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 26 Oct 2022 17:34:04 -0700 Subject: change the vars --- CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp index 1e3d58b..c9d194e 100644 --- a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp @@ -84,11 +84,11 @@ void FunctionTwo(const int varX[], const int varY[], int varZ[]); void PrintFunction(const int varX[], const int varY[], const int varZ[]); -const int SIZE = 5; +const int SIZE = 10; int main() { - int varX[5]; + int varX[SIZE]; int varY[SIZE]; int varZ[SIZE]; // Notice how we used the const here! -- cgit v1.2.3