Gmail ko Account Banaune Tarika Nepali ma Rahul Notes 11:05 AM Saathi haru sab vanda pahila hami le Kunai pani computer ma vaye browser open garne tyaspachhi Address Bar ma click garne ra type garne ww... Continue Reading
Write a program to open a new file and read roll-no, name, address and phone number of students until the user says “no”, after reading the data, write it to the file then display the content of the file. Rahul Notes 6:34 PM #include<stdio.h> #include<conio.h> struct { int roll; char name[25]; char add[30]; long phone; }st... Continue Reading
Write a program to rename and delete a data file using rename and remove command. Rahul Notes 6:33 PM #include<stdio.h> #include<conio.h> void main() { char filename[20]; char oldfilename[20],newfilename[20]; printf(... Continue Reading
Write a program using C language that reads successive records from the new data file and display each record on the screen in an appropriate format. Rahul Notes 6:31 PM #include<stdio.h> #include<conio.h> struct { int roll; char name[25]; float mark; }std; void main()... Continue Reading
Write a program to store std-no, name and mark of ‘n’ students in a data file. Display the records in appropriate format reading from the file. Rahul Notes 6:30 PM #include<stdio.h> #include<conio.h> struct { int roll; char name[25]; float mark; }std; void main() ... Continue Reading
Write a program to enter name, roll-number and marks of 10 students and store them in a file. Rahul Notes 6:28 PM # winclude<stdio.h> #include<conio.h> struct { int roll; char name[25]; float mark; }std; void main()... Continue Reading
Write a program to show data writing and reading operation to/from a data file. Rahul Notes 6:26 PM #include<stdio.h> #include<conio.h> struct { int roll; char name[25]; float mark; }std; void main... Continue Reading
Write a program that reads different names and addresses into the computer and rearrange them into alphabetical order using the structure variables. Rahul Notes 6:25 PM #include<stdio.h> #include<conio.h> #include<string.h> struct student { char name[30]; char add [30]; }std... Continue Reading
Write a program using user defined function to calculate y raise to power x. Rahul Notes 6:24 PM #include<stdio.h> #include<conio.h> int power(int,int); void main() { int y,x,p; printf("\n Enter values for ... Continue Reading
Write a program to calculate the factorial of a given number using recursive function. Rahul Notes 6:23 PM #include<stdio.h> #include<conio.h> int fact(int); void main() { int n,a; clrscr(); printf("\nEnter any ... Continue Reading
Write a program to calculate the factorial of a given number using function. Rahul Notes 6:21 PM #include<stdio.h> #include<conio.h> int fact(int); void main() { int n,a; clrscr(); printf("\nEnter an... Continue Reading