+1 vote
in C Plus Plus by
What is the output of this C code?

    #include <stdio.h>
    void reverse(int i);
    int main()
    {
        reverse(1);
    }
    void reverse(int i)
    {
        if (i > 5)
            return ;
        printf("%d ", i);
        return reverse((i++, i));
    }
a.Segmentation fault
b.1 2 3 4 5
c.Compilation error
d.Undefined behaviour

Related questions

+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya
+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya
...