Question d’entretien chez Bloomberg

How will you code CAT command in Unix in C++

Réponses aux questions d'entretien

Utilisateur anonyme

27 oct. 2010

I said something about file handling, by using file pointer.

Utilisateur anonyme

12 nov. 2011

int main(int argc, char **argv) { FILE* fp=fopen(argv[1],"r"); char s; while((s=fgetc(fp))!=EOF){ printf("%c",s); } fclose(fp); }