Friday 23 January 2009

C coding questions

(1)What will be output when you compile and execute the following code? void main() {     int i,j;     clrscr();     for(i=0;i<5;i++)     {        for(j=0;j<5;j++)        {            printf("*");          }        printf("\n");     }     getch(); }For output click me (2)What will be output when you compile and execute the following code?   void main() {     int i,j;    

No comments:

Post a Comment