Explain the function fseek, C/C++ Programming

Assignment Help:

Question:

(a) Explain the function fseek(). Using an appropriate example, write the full syntax for this function.

(b) Write a C or C++ program that will perform the following:

(i) Accept, as input, student names, marks for English, French and Mathematics for 10 students;
(ii) Compute the total and average marks for each student;
(iii) Write all the above information into a text file (marks.txt)

(c) Explain how sorting can be accomplished using selection sort. Illustrate your answer using the specific example of sorting the numbers 35, 1, 100, 75, 8 & 30 into ascending order.


Related Discussions:- Explain the function fseek

Area under curve. , Write a program to find the area under the curve y = f(...

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

Opp, what is oops

what is oops

Function, Write a C++ program according to the following specifications 1. ...

Write a C++ program according to the following specifications 1. Display a brief description of the program. 2. Ask the user to specify the type of loading (end load, intermediate

Described the isa and hasa class relationships. , Described the ISA and HAS...

Described the ISA and HASA class relationships. How would you apply each in a class design? A: A specialized class "is" specialization of another class and, thus, has the ISA re

Metric number, how are metric numer change the number of metric

how are metric numer change the number of metric

Program to store family members details, Program to store family members de...

Program to store family members details in C++: #include #include #include struct record {   char name[30];   int age;   char state[40]; }x; //cal

Encoding and decoding, program for decode the encoded numbering format into...

program for decode the encoded numbering format into message

Title, #questionAt a shop of marbles, packs of marbles are prepared. Packet...

#questionAt a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets

Explain operators, Operators The variables, which are declared and expl...

Operators The variables, which are declared and explained, are the operands, which are operated upon by the operators. Operators specify what operations are to be performed on

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd