Adding JSON file path

Clash Royale CLAN TAG#URR8PPPAdding JSON file path
I was solving a problem based on c and the question scenario requests for taking
reference of previous json file as input and also program is based on command line arguments, so can any one help me out with this,
how to add path of JSON file contaning the previous game records to my program.
eg .input.json
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.