Write a program which has the following seven functions.
The functions should be:
• main() this calls the other 6 functions
• fget_long() a function which returns a long data
type from a file
• fget_short() a function which returns a short
integer variable from a file
• fget_float() a function which returns a floating
point variable from a file
• fprt_long() a function which prints its single,
long argument into a file
• fprt_short() a function which prints its single,
short argument into a file
• fprt_float() a function which prints its single,
floating point argument into a file.
You should use fscanf() to get the values of the variables
from the input (the file) and fprintf() to print the values
to the other file. Pay attention to using the correct
format for each of the data types.
No Answer is Posted For this Question
Be the First to Post Answer
What does 4d mean in c?
Is null always equal to 0(zero)?
how i m write c program 1.check prime number 2.prime number series
What is a newline escape sequence?
biggest of two no's with out using if condition statement
what is Array?
How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
What is structure padding ?
ATM machine and railway reservation class/object diagram
what is the difference b/w NULL and null?
How can I sort more data than will fit in memory?
Is an array parameter is always "by reference" ?