0What is the output of the code written in C?void main() { int k, v; k = (v = 20, v + 2); printf("%d", k); }A2BErrorC20D22 Correct answer: D ExplanationThe comma operator evaluates v = 20 first, then v + 2 = 22 is assigned to k, so it prints 22. Join the discussion Report an error Share