How to Switch between Open Apps
When running an app, you can minimize it by simply tapping the Home icon. Getting back to it is not just one click on the taskbar like the way you … Read More
When running an app, you can minimize it by simply tapping the Home icon. Getting back to it is not just one click on the taskbar like the way you … Read More
#include <stdio.h> int check_anagram(char [], char []); int main() { char a[100], b[100]; int flag; printf(“Enter first stringn”); gets(a); printf(“Enter second stringn”); gets(b); flag = check_anagram(a, b); if (flag == … Read More
#include <stdio.h> #include <stdlib.h> int main() { char ch, file_name[25]; FILE *fp; printf(“Enter the name of file you wish to seen”); gets(file_name); fp = fopen(file_name,”r”); // read mode if( fp … Read More
#include <stdio.h> #include <stdlib.h> int main() { char ch, source_file[20], target_file[20]; FILE *source, *target; printf(“Enter name of file to copyn”); gets(source_file); source = fopen(source_file, “r”); if( source == NULL ) … Read More
#include <stdio.h> #include <stdlib.h> int main() { FILE *fs1, *fs2, *ft; char ch, file1[20], file2[20], file3[20]; printf(“Enter name of first filen”); gets(file1); printf(“Enter name of second filen”); gets(file2); printf(“Enter name … Read More
#include<stdio.h> main() { int status; char file_name[25]; printf(“Enter the name of file you wish to deleten”); gets(file_name); status = remove(file_name); if( status == 0 ) printf(“%s file deleted successfully.n”,file_name); else … Read More
#include <stdio.h> struct complex { int real, img; }; int main() { struct complex a, b, c; printf(“Enter a and b where a + ib is the first complex number.n”); … Read More
#include <stdio.h> int main() { int array[100], position, c, n, value; printf(“Enter number of elements in arrayn”); scanf(“%d”, &n); printf(“Enter %d elementsn”, n); for (c = 0; c < n; … Read More
#include <stdio.h> int main() { int c, first, last, middle, n, search, array[100]; printf(“Enter number of elementsn”); scanf(“%d”,&n); printf(“Enter %d integersn”, n); for ( c = 0 ; c < … Read More
#include <stdio.h> int main() { int first, second, *p, *q, sum; printf(“Enter two integers to addn”); scanf(“%d%d”, &first, &second); p = &first; q = &second; sum = *p + *q; … Read More