Suriyasuriyaofficial.hashnode.dev·Nov 19, 2024Building a Simple TCP Web Client in CIntroduction In this post, we'll walk through building a simple TCP web client from scratch. Instead of posting the entire code upfront, we'll dive straight into the important sections, explaining the key concepts step by step. Below here I have show...DiscussConfessions of a Networking Newbie : A Journey into Code and Conceptsnetworking
Vibhas Thakurdesaicodotics.hashnode.dev·Nov 10, 2024Write Your First Program In C· HEADER FILES Header files consist standard functions which are essential to write our program. It is code which is already written in C so we can use it directly. Without declaring proper header file code will not run. At basic level we will u...Discussc programming
Jalaj Singhaljalajsinghal3.hashnode.dev·Oct 20, 2024Doubly link listLike doubly link list it also contains address of next node and data but the change is that it also contains the address of previous node. So here we have 3 block of Previous node address Data Next node address We will make it using 5 function:...DiscussC
Rafal Jackiewiczjackiewicz.hashnode.dev·Oct 15, 2024The Role of C in the Age of IoT and Embedded SystemsAs we move deeper into the era of smart devices and connected systems, the Internet of Things (IoT) continues to revolutionize industries—from healthcare and agriculture to smart homes and cities. At the heart of this revolution is C, a language that...DiscussEmbeddedDevelopment
Jalaj Singhaljalajsinghal3.hashnode.dev·Oct 13, 2024Singly Link List ReversalLike the way we have implemented singly link list traversal meaning that we have printed the link list in the order they were inserted we will print them in reverse order. The working of this code is as follows:- Code for Doubly Link List with prop...DiscussC
Bhuwan Sharmabhuwan.hashnode.dev·Sep 22, 2024C Tutorial -5 (Functions and recursion)#include<stdio.h> #include<stdlib.h> #include<time.h> // Q.1 Function to find average of three numbers. float avg(int a, int b, int c){ int sum = a + b + c; float avg = sum/3.0; return avg; } // Q.2 Funtion to convert Celsius to Fahrenheit. float cel...DiscussC
Bhuwan Sharmabhuwan.hashnode.dev·Sep 22, 2024C Tutorial -4 Guess the number#include<stdio.h> #include<stdlib.h> #include<time.h> int main(){ srand(time(0)); int rand_num = rand()% 100 + 1; printf("Guess the number sir!\n"); int user; scanf("%d", &user); int attempts = 1; while(user != rand_num){ if(user>rand_num){ printf("L...DiscussC code
Bhuwan Sharmabhuwan.hashnode.dev·Sep 22, 2024C Tutorial-3#include <stdio.h> int main(){ // Q.1 Program to print table. int table; printf("Which table?"); scanf("%d", &table); int i = 1; while(i<=10){ printf(" %d X %d = %d\n",table, i, table*i); i++; } // Q.2 Program to print table in reversed order. int ta...DiscussC langugae
Suyog Buradkarsuyogb.hashnode.dev·Aug 17, 2024Chapter 3: Mutexes / Mutex LockIn the Linux kernel, a mutex (short for mutual exclusion) is a synchronization primitive used to protect shared resources from concurrent access by multiple tasks (threads or processes). Ok lets understand Mutex in following manner ............ Lock...DiscussLinux kernel programming for embedded systemslinux kernel
Suyog Buradkarsuyogb.hashnode.dev·Aug 10, 2024Linux Device Driver C Programming Interview QuestionsHi everyone, Recently, I took an online assessment for a Linux device drivers position at AMD. The assessment required completing a C programming task within 16 minutes. I felt the pressure to finish within that timeframe. Now, come to the point: The...Discuss·33 readsLinux Device Drivers C Programming Interview QuestionsArray sorting