diff --git a/OS/C/Week5/q2.c b/OS/C/Week5/q2.c index 317a02b..3fca28d 100644 --- a/OS/C/Week5/q2.c +++ b/OS/C/Week5/q2.c @@ -8,7 +8,7 @@ #include #include -void main () { +int main () { // array declaration char *strings[5]; @@ -73,4 +73,5 @@ void main () { printf("THE SYSTEM ENCOUNTERED AN ERROR. Please try again later or debug the code. \n"); } + return 0; }