What is the result of the following code execution?
public static void Main()
        int i, j, s = 0; 
        for (i = 0, j = 6; i < j; ++i, --j ) 
         s += i; 
It is allowed to have more than one counter inside a loop.
C# Quiz
Start Quiz

or Read more about C# Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback