I have written a C program to get all the possible combinations of a string. For example, for abc
, it will print abc
, bca
, acb
etc. I want to get this output in a separate file. What function I should use? I don’t have any knowledge of file handling in C. If somebody explain me with a small piece of code, I will be very thankful.
You need to sign in to view this answers
Leave feedback about this