Loading...
Engaged employer
How will you code CAT command in Unix in C++
Anonymous
I said something about file handling, by using file pointer.
int main(int argc, char **argv) { FILE* fp=fopen(argv[1],"r"); char s; while((s=fgetc(fp))!=EOF){ printf("%c",s); } fclose(fp); }
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.