Bihar Board 10th Result 2020 दोपहर 12:30 बजे होगा मैट्रिक का रिजल्ट

bihar board result

Bihar Board 10th Result 2020 दोपहर 12:30 बजे होगा मैट्रिक का रिजल्ट बिहार के 10वीं के स्टूडेंट्स के रिजल्ट का इंतजार आज खत्म हो जाएगा। बिहार बोर्ड 12:30 बजे मैट्रिक का रिजल्ट (BSEB 10th Result 2020) जारी करेगा। मैट्रिक की परीक्षा का रिजल्ट खुद बिहार के शिक्षा मंत्री कृष्नंदन वर्मा द्वारा जारी किया जाएगा। बिहार … Read more

C Program to Print names of all Files present in a Directory

C Program to Print names of all Files present in a Directory

C Program to Print names of all Files present in a Directory dirent.h header file contains variables and functions related to directory streams. #include<stdio.h> #include<dirent.h> int main(void) { DIR *d; struct dirent *dir; d = opendir(“.”); if (d) { while ((dir = readdir(d)) != NULL) { printf(“%s\n”, dir->d_name); } closedir(d); } return(0); } Output: testFile1.txt testFile2.txt … Read more

C Program to Swap Two Numbers using Pointers

Selection-sort-swapping

C Program to Swap Two Numbers using Pointers #include<stdio.h> int main() { printf(“\n\n\t\tEduguru – C Program Example\n\n\n”); int a, b; int *ptra, *ptrb; int temp; printf(“Enter value for a: “); scanf(“%d”, &a); printf(“\n\nEnter value for b: “); scanf(“%d”, &b); printf(“\n\nThe values before swapping are: a = %d b = %d”, a, b); ptra = &a; … Read more

C Program for Dynamic Memory Allocation using malloc()

C Program for Dynamic Memory Allocation

C Program for Dynamic Memory Allocation using malloc() Below is a program on dynamic memory allocation using malloc() and clearing out memory space using free(). sizeof() returns the number of bytes occupied by any datatype, in this case by an integer. #include <stdio.h> int main() { printf(“\n\n\t\tEduguru – C Program Example\n\n\n”); int n, i, *ptr, sum = 0; printf(“\n\nEnter … Read more

Basic C Program for Pointers

basic program of pointer

Basic C Program for Pointers #include <stdio.h> int main() { printf(“\n\n\t\tEduguru – C program example\n\n\n”); int var = 24; // actual variable declaration int *p; p = &var; // storing address of int variable var in pointer p printf(“\n\nAddress of var variable is: %x \n\n”, &var); // address stored in pointer variable printf(“\n\nAddress stored in … Read more

C Program to find Deteminant of 2×2 Matrix

matrix program in c

C Program to find Deteminant of 2×2 Matrix #include<stdio.h> int main() { printf(“\n\n\t\tEduguru – C Program example\n\n\n”); int a[2][2], i, j; long determinant; printf(“\n\nEnter the 4 elements of the array\n”); for(i = 0; i < 2; i++) for(j = 0; j < 2; j++) scanf(“%d”, &a[i][j]); printf(“\n\nThe entered matrix is: \n\n”); for(i = 0; i … Read more

C Program to perform addition and subtraction of Matrices

C Program to perform addition and subtraction of Matrices

C Program to perform addition and subtraction of Matrices #include<stdio.h> int main() { printf(“\n\n\t\Eduguru- C Program example\n\n\n”); int n, m, c, d, first[10][10], second[10][10], sum[10][10], diff[10][10]; printf(“\nEnter the number of rows and columns of the first matrix \n\n”); scanf(“%d%d”, &m, &n); printf(“\nEnter the %d elements of the first matrix \n\n”, m*n); for(c = 0; c … Read more

The People Who Write Viruses

Sometimes I think that it helps to understand a little bit more about the people who perpetrate crimes, in order to be able to avoid being a victim of those crimes. Others of you may just have a morbid curiosity about those who like to hurt other people. Either way, you’ll learn a little more … Read more

How Early Viruses Spread from Computer to Computer

In the mid-to-late 1980s, data was most often transferred from computer to computer by using floppy disks and so-called bulletin board systems (BBSs), managed online locations that were the forerunners of today’s Web sites. Stowing away on floppy disks Even without using the Internet, people in offices where PCs were used traded and circulated programs, … Read more