496 views
0 votes
0 votes
#include<stdio.h>

int main()

{

        int i = 4, ans;

        ans = ++i+ ++i + ++i;

        printf("%d\n", ans);

        return 0;

}

What is the output of this program ?

Please log in or register to answer this question.

Related questions

3 votes
3 votes
3 answers
1
Laxman Ghanchi asked May 19, 2023
1,113 views
#include<stdio.h void print(int n) { printf("Hello "); if(n++ == 0) return ; print(n); n++; } int main() { void print(); print(-4); }How many times printf execute?? And H...
0 votes
0 votes
1 answer
2
Laxman Ghanchi asked May 19, 2023
658 views
#include<stdio.h>void print(int n){ printf("Hello "); if(n++ == 0) return ; print(n); n++;}int main(){ void print(); print(-4);}