What will be the output of the following program?

main(){

int a = 4, b = 3;

printf("%d",a++ + b);

}

1

results in syntax error

2

prints 6

3

prints 7

4

prints 8

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation