answersLogoWhite

0

How do you write c file arguments?

Updated: 8/11/2023
User Avatar

Wiki User

12y ago

Best Answer

Using parameters argc and argv, and library functions fopen, fprintf, fclose

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

Arguments of a C-program can be filenames, if that's what you mean.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write c file arguments?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a c program for function with no arguments and no return values?

void mynullfunction () {;}


When is an object file in c used?

When you write a compiler, assembler or linker in C.


How can you read and write to files in C programming language?

We can read and write to files with the help of file commands in c programming.There are so many commands related to file for read,write,append,delete etc.


How do you store data in c?

Write your data to a data file.


How do you save a text file as c file on mac?

From editor: File / Save As or File / Write To From shell: rename, move, mv


How you can delete the data in the file when you open the file in read or write mode in C programming?

When you open a file in write mode, eg. fp=fopen("filename.txt","w"); the content of the file is deleted.


Write a C program to extract a given word from a file?

program to extract a given word from a file


How can write a c program to store students record in a file?

Write a console based C++ program that reads student information from a text file, build an array of objects of type class StudentInfo,


What are the four file commands required to read and write to a file in C programming?

fopen, fread, fwrite, fclose


Write a C program that takes a binary file as input and finds error check using different mechanisms?

write a c program that takes a binary file as input and finds error check using different mechanisms.


What is basic structure of file handling in c language?

open, read/write, close


Write a C program to extract a word from a delimiter text file?

not yet found