Author shahabaz:
This program is very simple and easy, you all might be thinking how could I do such thing with out using a clrscr(); function. (NOTE: Am talking for turbo c editor as well if this code does not wotrk on other edit please alter it). Lets have the code.
#include<stdio.h>
int main(){
int i,j;
   for(i=0;i<27;i++){
     printf("\n");
     for(j=0;j<80;j++)
       printf(" ");
      }
 gotoxy(1,1);
return 0;
}
Be sure with the code while editing J 
 

 
 
 
 
 
Nice da..but by default thy gave clrscr() fr tis..I recomment to use clrscr() bcz it wont take tym to compile...
ReplyDeleteThanks for the comment raja, I know it ill be easy to use clrscr(); am just saying you how that function works internally :).
ReplyDeleteKEEP COMMENTNG AND SHARING
let me know why you have taken i=27 & j=80
ReplyDeletecan you do this by pointers?
ReplyDelete