What is the output of the code written in C?

void main()

{

int k, v;

k = (v = 20, v + 2);

printf("%d", k);

}

1
20
2
2
3
22
4
Error
5
222

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation