CS609 assignment 3 solution 2021

Advertisement

CS609 assignment 3 solution 2021

Aslam U alaiku dear students.

Welcome on website.

Download solution file linkl below.

Link is available at the end the of the page.

CS609 Assignment No.3 2021

#include <bios.h>

#include <dos.h>

#include <stdio.h>

FILE *fp;

unsigned char buf[512];

 

unsigned char st[60];

unsigned char headno[10 ];

unsigned char secno[10 ];

 

unsigned char unsigned char trackno[10 ] ;

void main (void)

{

int i;

for (i = 0; i < 512; i++)

buf[i] = 0;

printf(“Please Enter Name ot the file);

gets(st);

fp=fopen(st,”wb”);

 

printf(“Please Enter Head Number:”);

gets(headno);

 

printf(“Please Enter Sector Number:”);

gets(secno);

 

printf(“Please Enter Track Number”);

gets(trackno);

 

i = biosdisk(2,0×00,atoi(headno), atoi(trackno),atoi(secno),1, buf) ;

if (*(((char *)(&i))+1)== )

{

fwrite(buf,1,512,fp);

fclose(fp);

 

printf(“Data is Written Successfully on the file”);

}

else

{

printf(“Cannot Read Error”,i);

}

getch();

}

 

ALSO SEE:

  1. CS301 Solved Final Term Papers Mega File – Virtual University of Pakistan.pdf
  2. CS301-finalterm-subjective-solved-with-refrences-by-moaaz.pdf
  3. CS301 ALL IN ONE BY SONU-1.pdf
  4. CS301 SOLVED MCQS FOR FINAL TERM PAPERS.PDF

CS609 assignment 3 solution 2021

Solution file can be download from link below.

Advertisement

Download file from here.