Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Program is to store first n natural no in a file:
Write a program to store first n natural no in a file
void main()
{
fstream file;
file.open("student.dat",ios::in|ios::out|ios::app);
int n;
cout<<" enter record to be modified ";
cin>>n;
file.seekg((n-1)*sizeof());
file.read((char *)& ,sizeif());
file.write((char *)& ,sizeof());
file.close();
}
Inbuilt Functions i). Functions to manipulate strings The cstring library defines many functions to perform some manipulation operations with C-styled functions. The followi
Variables Information stored in a variable can alter in the course of the program. The type used in the definition explains the kind of information the symbol can store. Variab
To write a program to use different levels of array of pointer to pointer & display the output as 1 1 1 2 2 2 3 3 3
How to write C program (interest calculator) the simple interest on a loan is calculated by the formula interest=principal*rate*days/365; ?
Given an char variable last that has been initialized to a lowercase letter, write a loop that displays all possible combinations of two letters in the range ''a'' through last. Th
write a program that counts the number of occurrences of the string in the n-th Padovan string P(n)
a palindrome is a string that reads the same from bhote the ends
Default Value Functions, When declaring a function we can specify a default value for each parameter. This value will be used if that parameter is left blank when calling to the f
A: Use operator overloading to present a friend right-shift operator, operator>>. It is similar to the output operator, except the parameter doesn't contain a const: "Fred&" instea
Ask question #Minimum 100 words pted#acce
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd