Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Explore thousands of questions and answers from a knowledgeable community of experts on our user-friendly platform. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

What is the value of num2 after the following code snippet is executed?
int num1 =7;
int num2 = num 1 >10 ? num1++ : num1--;
A) 8
B) 7
C) 6
D) None of the above (including syntax error)