I build things, break things, and write what I learn.
Currently exploring:
- → LLMs
- → DevOps
- → Systems
Arrays in C Language

An array is a data structure used in programming to store a collection of elements, typically of the same type, in a fixed-size sequence. Initialisation of Array 1#include <stdio.h> 2int main() …
Basics of C-language

C is a powerful, general-purpose programming language that provides control over system resources and efficient execution. This post will cover some essential concepts in C that every programmer …
Important Questions of C-language

To find average of two numbers. 1#include <stdio.h> 2int main() 3{ 4 float a; 5 float b; 6 printf("give the values for a and b:\n"); 7 scanf("%f%f", &a,&b); 8 float …
Loops in C-language

Loops in C language are used to repeatedly execute a block of code based on certain conditions. They are fundamental for tasks such as iterating over arrays, processing data, and performing repetitive …
Matrices in C-language

Matrices: Matrix Multiplication 1#include<stdio.h> 2int main() 3{ int m,n,p,q,a[10][10],b[10][10],c[10][10],k,i,j; 4 printf("enter the rows and column value for matrix 1:\n"); 5 …
Pointers in C-language

Pointers Basics 1#include<stdio.h> 2int main() 3{ 4 int a=10; 5 printf("Address of P: %p \n", *a); 6 7 int *p; 8 9 p=&a; 10 11 *p = 30; 12 13 printf("Address of P: %p \n", …
Searching in C-language

Searching in C language refers to the process of finding a specific element or value within a data structure, typically an array. Searching algorithms help determine whether an element exists in the …
Sorting in C-language

Sorting in C language refers to arranging the elements of an array in a specific order, typically in ascending or descending order. Sorting: Bubble Sort 1#include <stdio.h> 2int main() 3{ 4 int …