Question

In C / C++, is it safe to rename argc and argv in main function?


Annonce
Ad

Answer

No, but substitution is fine:
#define yourCounterName argc
#define yourVectorName  argv 


[source]
# ID Query