Report Bug
Qus :

What will be the output of the following code

#include <stdio.h>
void solve(){
    int b=4;
    int res = b++ + ++b + ++b;
    printf("%d", res);
}
int main(){
    solve();
    return 0;
}

Qus

निम्नलिखित कोड का आउटपुट क्या होगा

#include <stdio.h>
void solve(){
    int b=4;
    int res = b++ + ++b + ++b;
    printf("%d", res);
}
int main(){
    solve();
    return 0;
}



A. 12
B. 15
C. 17
D. 20


Solution
C. 17






Report Bug