What after 10th Board Results

Courses-Streams-After-10th

What after 10th Board Results What after 10th? What are the courses after 10th? What to do after 10th? Which stream and subjects to choose in 11th and 12th? There are so many courses after 10th that could land you in your dream job. But how would you decide which one is the right course … Read more

Topper list – BSEB Bihar Board Matric Result 2020

bihar board result

Topper list – BSEB Bihar Board Matric Result 2020 जिला स्कूल का नाम विद्यार्थी का नाम प्राप्त अंक रोहतास जनता हाई स्कूल तेनौज हिमांशु राज 481 समस्तीपुर एसके हाई स्कूल जितवारपुर दुर्गेश कुमार 480 भोजपुर श्री हरखेन कुमार जैन ज्ञान स्थली आरा शुभम कुमार 478 औरंगाबाद पटेल हाई स्कूल दौड़नगर राजवीर 478 अरवल बालिका हाई … Read more

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