how can i write a n altered code to expand spaces into tab characters.....Code:#include <stdio.h> int main () { int inChar; while ((inChar=getchar() ) != EOF{ putchar(inChar); } }
PLS HELP ME
how can i write a n altered code to expand spaces into tab characters.....Code:#include <stdio.h> int main () { int inChar; while ((inChar=getchar() ) != EOF{ putchar(inChar); } }
PLS HELP ME
Code:#include <stdio.h> int main () { int inChar; while ((inChar=getchar() ) != EOF) { if(inChar == ' ') putchar('\t'); else putchar(inChar); } }
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.