I have for loop that increments through all of the elements inside of an array. If I use the code:
Is the "strlen(Buffer)" executed every loop? And if so, would it be less overhead if I used a variable to store it?Code:for(int i = 0;i < strlen(Buffer);i++)
Code:int Length = strlen(Buffer); for(int i = 0;i < Length;i++)