#include <stdio.h>
int main()
{
  FILE *fp;
  char ch, next;
  fp = fopen("input.txt", "r");
  if (fp == NULL){
     printf("Cannot open file\n");
     return 1;
     }
printf("Source code after removing spaces, tabs, newlines & comments:\n");
while ((ch = fgetc(fp)) != EOF) {
     if (ch == ' ' || ch == '\t' || ch == '\n')
           continue;
     if (ch == '\\'){
         next = fgetc(fp);
        if (next == '\n')
           continue;
     }
     putchar(ch);
}
fclose(fp);
return 0;
}
