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



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad