Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More C Interview Questions

write a program for fibonaci series by using while loop in c?

2 Answers  


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

0 Answers  


What is a double c?

0 Answers  


Describe advantages and disadvantages of the various stock sorting algorithms

1 Answers   Microsoft,


wats the diference btwen constant pointer and pointer to a constant.pls give examples.

9 Answers  


what are the 10 different models of writing an addition program in C language?

0 Answers  


Explain null pointer.

0 Answers  


How we can insert comments in a c program?

0 Answers  


How many header files are in c?

0 Answers  


Can the curly brackets { } be used to enclose a single line of code?

0 Answers  


what is the associativity of bitwise OR operator?

1 Answers  


Is main a keyword in c?

0 Answers  


Categories