Can we give dynamicaly name to files in c????

I want to generate multiple files in c language …
like Update prefix
then next name like
Update01
Update02
update03 etc…

I don’t know what you exactly mean.

For generating dynamic file names you can use sprintf to generate formatted output which can be used to generate dynamic file names.

http://www.cplusplus.com/reference/cstdio/sprintf/ for sprintf tutorial.

I have never tried this but i think this will help you


http://www.cplusplus.com/reference/cstdio/sprintf/