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); }
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.
Get actionable career advice tailored to you by joining more bowls.
Check out your Company Bowl for anonymous work chats.