Open main menu

CDOT Wiki β

Changes

Week 2

4 bytes added, 11:34, 19 May 2010
no edit summary
It returns 21 21. Why? Some compilers stack the arguments and read the last argument first. Therefore, it would see b as 21 as well.
''a = printf("%d %d, b, b = b + 1);''
''printf("%d\n", a);''
What is a?
1
edit