Programming Languages C Objective
Mar 07, 2013

What will be output of following c code?

#include<stdio.h>

extern int x;

int main(){

    do{

        do{

             printf("%o",x);

         }

         while(!-2);

    }

    while(0);

    return 0;

}

int x=8;

Choose the correct answer:
A) 8
B) 10
C) 11
D) 15
Detailed Explanation

No Explanation

Discussion (0)

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

Share Your Thoughts
Feedback