Tumgik
mtul-c · 2 months
Text
INode
The file system’s inode (index node) contains one inode for each file residing in the file system. An inode stores essential information, including:o  File Type: Indicates if the entry is a regular file, directory, character device, or symbolic link.o  File Size: Represents the size of the file in bytes.o  Permissions: Specifies the read, write, and execute permissions for different…
Tumblr media
View On WordPress
0 notes
mtul-c · 2 months
Text
A Brief Overview of Fundamental Classifications of Computer Architecture
SISD – Single Instruction, Single Data Stream :In the SISD architecture, systems execute one instruction at a time on a single data stream. Think of it as a traditional computer that performs tasks sequentially, like following a recipe step by step. For example, your personal computer processes instructions and data in a SISD manner, handling tasks one after another.MISD – Multiple Instructions,…
Tumblr media
View On WordPress
0 notes
mtul-c · 2 months
Text
Sample Program for Declaration Reading
This a sample program to demonstrate the use of various declarations that are used. There are indeed many more that are used based on given situation, but these are references on how few of them are used. #include <stdio.h> #include <stdlib.h> int my_add(int a, int b) { return a + b; } int my_sub(int a, int b) { return a - b; } int my_mul(int a, int b) { return a * b; } int my_div(int a, int b)…
Tumblr media
View On WordPress
0 notes
mtul-c · 2 months
Text
Common Combinations and their Usage in C - Part 2
Structure of Unions: Whenever you need different data types to be stored in the same memory. Saves memory space and provides flexibility in handling different data types. Ex: Used for HW configuration where each member in the union corresponds to a specific HW configuration, in protocol parsing, each member in the union can be used to perform specific operations such as parsed, processed etc… on…
Tumblr media
View On WordPress
0 notes
mtul-c · 4 months
Text
Reading declarations with Specifiers and Qualifiers
Storage Class Specifiersauto – Can be used only within a block. A default storage class. Stored in stack.static – Either inside/outside the function. If used inside, a function, the scope of variable is preserved between function calls. If used outside a function but in a file, it the variable cannot be accessed by other file. Stored in data segment.extern – Defined in a function, used somewhere…
Tumblr media
View On WordPress
0 notes
mtul-c · 4 months
Text
 𝑭𝒆𝒘 𝑰𝑷𝑪 𝑴𝒆𝒄𝒉𝒂𝒏𝒊𝒔𝒎𝒔 𝒊𝒏 𝑳𝒊𝒏𝒖𝒙
Pipes are used to pass data between related processes. It is an unidirectional channel through which data flows. If a command such as ls -l |grep .c is given, grep .c command will read the output from ls -l. Once both the processes have finished executing, the shell displays output of the last command in the pipe. The <unistd.h> library provides functions such as pipe, read, and write for…
Tumblr media
View On WordPress
0 notes
mtul-c · 4 months
Text
𝐄𝐢𝐭𝐡𝐞𝐫 𝐎𝐫𝐩𝐡𝐚𝐧𝐞𝐝 𝐨𝐫 𝐙𝐨𝐦𝐛𝐢𝐞𝐝
When using the fork() function call, it is important to handle the possible outcomes of the process creation properly to prevent orphaned or zombie processes. The fork() function creates a child process, and the concepts of orphan and zombie processes are closely related to this child process.In this short write-up, you can observe how and child process becomes orphaned or becomes a zombie…
Tumblr media
View On WordPress
0 notes
mtul-c · 2 years
Text
A post about the modern world
A post about the modern world
There are more ideas in this sarcastic real world where idealists starve for perfection. A thought taken,  a  word spoken,  these things are just soo easily misunderstood in this modern world. Talking about the modern world,  we people live in such a growing technology with such a growth of imperfection of thoughts.  We have  Freedom in the whole world yet we choose to work under a caged life…
Tumblr media
View On WordPress
0 notes
mtul-c · 2 years
Text
THE DECISION ON AN OPINION
THE DECISION ON AN OPINION
Caring about others opinion.Let’s try to address and understand the fundamentals on why we do that. Essentially, we were grown up by opinions. Every part of our life, we are surrounded with opinions of other people. During childhood, in most cases, we were forced to choose others opinion. During schooling or college days, we again were moving our life with others opinion. Why? It’s  just because…
Tumblr media
View On WordPress
0 notes
mtul-c · 2 years
Text
THE PAIN UNHEARD
I awaited a year long.You took your time to come into my heart.I waited.We had time.Cute, funny, lovely, beautiful moments.We made unbreakable bond. A bond soo tight no external force could break. We held our hands tight.We dissolved into each other.We made unforgettable memories.We did innumerable things.We were great together.What happened all of a sudden?The hand I thought I held forever…
Tumblr media
View On WordPress
0 notes
mtul-c · 2 years
Text
THE GAME OF THOUGHT AND HEART
THE GAME OF THOUGHT AND HEART
Heart, a lovely organ in our body that keeps this life alive. It doesn’t just pump the blood, it goes beyond the complexities of life. Although the cover of the heart is biological, the experiences it takes our body and mind through is multi-dimensional. Love, hate, pain, happiness, sadness, depression, ecstasy… every feeling we go through, the heart acts in its own way..It’s like the emotional…
Tumblr media
View On WordPress
0 notes
mtul-c · 2 years
Text
What happens to him?
What happens to him?
Those were the days, those were his best days…., the days when he was with her. He enjoyed every moment he was with her, his soul fullness can be seen in every word he speaks with her, every contact he makes on her, every breath he breathes alongside her. He was mesmerized by her blazing eyes, dazzling hair, sizzling moves and her heart shying smile. The years he was with her. He could think of…
Tumblr media
View On WordPress
0 notes
mtul-c · 3 years
Text
Chakras and death
There are 114 chakras, but 2 are out of the physical body and out of these 112, only 108 chakras can be worked upon.From 112 chakras . Only 21 chakras are need for a body to function to lead a full fledged physically and social life. These 21 chakras are of seven sets with 3 chakras acting as one because of the energy dimension  Pingala, Ida and Sushumna. The location of these chakras…
Tumblr media
View On WordPress
0 notes
mtul-c · 3 years
Text
the FATE OF 3 GALAXIES
the FATE OF 3 GALAXIES
Our galaxy is on a collision course with Andromeda galaxy. In 2012, from the reading of Hubble telescope, scientists concluded that the collision of Milky Way and Andromeda is imminent and a sure thing to happen. Currently Andromeda galaxy is hurdling towards the Milky Way galaxy with a speed of nearly 110 Kilometers/second. But, don’t worry, neither you nor I would be alive to witness such a…
Tumblr media
View On WordPress
0 notes
mtul-c · 3 years
Text
DEATH OF SRI KRISHNA
DEATH OF SRI KRISHNA
The Kurukshetra Yudh, the great war which happened and is described in Mahabharata; you must have heard about it. You also must have read/heard about Lord Sri Krishna and about his role in the war. The tremendous war happened, numerous deaths took place and for those who remained, were left wounded physically and mentally. Among the many people who survived the war, I personally want to share you…
Tumblr media
View On WordPress
0 notes
mtul-c · 3 years
Text
RANDOM WRITES-1 LARGEST NUMBER
RANDOM WRITES-1 LARGEST NUMBER
There are plenty of numbers. Few of them are finitely infinite and few of them are finite and most of them are infinitely infinite. It just depends on the way we view. They are infinite. But within the countable set, what can be the largest number?Lets see.Googol- 10100Number of atoms in the body – 7*1027Number of atoms in the observable universe- 1080Possibilities of a 7 by 7 Rubik’s Cube –…
Tumblr media
View On WordPress
0 notes
mtul-c · 4 years
Text
CURIOSITY - MSL
CURIOSITY – MSL
MARS! Our lovely neighbour.  Do you want to go there? One day we might be there, don’t worry, Elon’s here with us.
Scientists sent many rovers, landers and orbiters to mars. One among them is Curiosity. Curiosity is the largest and most capable rover ever sent to Mars. It launched November 26, 2011 and landed on Mars at 10:32 p.m. PDT on Aug. 5, 2012 (1:32 a.m. EDT on Aug. 6, 2012). It is one…
View On WordPress
0 notes