---------------------------------------------------------------------- Errors:-
--------
In function âmainâ:
MultipleThreads.c:13: error: âforâ loop initial declarations are only allowed in C99 mode
MultipleThreads.c:13: note: use option -std=c99 or -std=gnu99 to compile your code
MultipleThreads.c:16: error: redefinition of âiâ
MultipleThreads.c:13: note: previous definition of âiâ was here
MultipleThreads.c:16: error: âforâ loop initial declarations are only allowed in C99 mode
I made the changes as below:
However, I am still getting 2 minor error which are not going away. I have pasted them at the bottom the the program. If someone can help me , I will appreciate it.