C programming

File handling functions

So far, you have come to know about fopen(), fclose(), fprintf(), fscanf(). Let’s talk about some other functions fputc() and fgetc() Given a string “Hello world”, fputc() is used to […]

C programming

File Handling

Suppose you are given a task to generate average of 50 numbers. So, each time you run the program you have to type 50 numbers from your keyboard and then […]