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

Is there anything you can do in c++ which you cannot do in c, A: No. There ...

A: No. There is nothing you can do in C++ which you cannot do in C. In spite of everything

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

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

Arrays, how to declare arrays

how to declare arrays

C++, how do i write a c++ program that will input a number and output its f...

how do i write a c++ program that will input a number and output its factorial using the while loop

Palindrome, string S convert it to a palindrome by doing chara, C/C++ Progr...

string S convert it to a palindrome by doing chara, C/C++ Programming

Padovan sequence, #write a program that counts the number of occurances of ...

#write a program that counts the number of occurances of the string in the n-th padovan string p(n)

Program of cascading, Program of cascading: class vector{          ...

Program of cascading: class vector{                 private :                 int v[3];                   public:                 friend istream & operator >> (

Want an ea project for jack bsher, Want an EA project for Jack Bsher Pro...

Want an EA project for Jack Bsher Project Description: New EA game Skills required   Android, C++ Programming, PHP, Metatrader, SQL

Class and object, how to write c++ code for financial system using class an...

how to write c++ code for financial system using class and object

Algorithm, for different operation multiple stack

for different operation multiple stack

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