Programming Languages C Objective
Mar 08, 2013

What will be output of following c code?

#include<stdio.h>

int i=40;

extern int i;

int main(){

    do{

         printf("%d",i++);

    }

    while(5,4,3,2,1,0);

    return 0;

}

Choose the correct answer:
A) 30
B) 20
C) 50
D) 40
Detailed Explanation

No Explanation

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback