Saturday, 1 December 2012

C basic questions - 2


What will the output of the program


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

Note : Comment your answers




          1) Basic question 1

          2) Basic question 3

          3) Basic question 4

          4) Basic question 5


No comments:

Click Here To add Comment

Post a Comment

Blogger Widgets