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();
}
if one won't explicitly call the destructor of a local; then how does he handle the above situation?
example of padovan string program
2. a) Define a structure to store roll no, name and marks of a student. b) Using the structure of Q2. a), above write a ''C'' program to create a file "student.dat". There must be
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
why c is middle level language?
wap to padovan string in c
WAP TO PRINT ANY NAME ON SCREEN 10 TIMES void main () { int a=1; clrscr(); do { printf ("expertsmind\n"); a++; } while (a getch (); }
What if I wish a local to "die" before the close} of the scope wherein it was created? Can I call a destructor on a local if I want to?
Is always the default constructor for Fred Fred::Fred()?
Question : (a) Define a Pointer. Provide an example of an integer pointer variable. (b) Give advantages of using pointers over arrays. (c) Declare an integer pointer
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