multiple character
Multiple character can be taken either using putc and getc
or, by using fscanf and fprintf
Here's the method, we learned earlier by using, putc and getc
,
Here EOF is End Of File, can be triggered generally by double pressing ctrl + d
in linux or, ctrl + z
in windows operating system.
Last updated
Was this helpful?