What will be output of the following program?30 or 35 or 42 or 49?

Aug 23 2023 4:37 PM

Is it 35 or 42??

#include <stdio.h>

 

int main() {

    int x=5;

    printf("%d", x++ * ++x);

    return 0;

}


Answers (6)