Saturday, 1 December 2012

C basic questions - 5


What will the output of the program



extern int j;
void main(){
    int i=0;
    clrscr();
    for(i=0;i<=2;i+=1){
         int j=5;
         printf("%d ",j);
         j++;
    }
    getch();
}
int j=25;

Note : Comment your answers



      1) Basic question 4

                 2)   Basic question 3

             3) Basic question 2

       4) Basic question 1



No comments:

Click Here To add Comment

Post a Comment

Blogger Widgets