#include <stdio.h>
#include <sys/types.h> 1(a)
#include <unistd.h>
int main() {
pid_t pid, mypid, myppid;
pid = getpid();
printf("Before fork: Process id is %d\n", pid);
pid = fork();
if (pid < 0) {
perror("fork() failure\n");
return 1; }
process if (pid == 0) {
printf("This is child process\n");
mypid = getpid();
myppid = getppid();
printf("Process id is %d and PPID is %d\n", mypid, myppid); }
else { sleep(2);
printf("This is parent process\n");
mypid
प्रश्न 8 : संक्षिप्त टिप्पणी लिखिए (कोई चार)
(a) आघूर्ण एवं बल-युग्म
आघूर्ण = बल × लंब दूरी
बल-युग्म दो समानांतर, समान परिमाण के विपरीत दिशा वाले बल होते हैं
बल-युग्म केवल घूर्णन उत्पन्न करता है
(b) साम्यावस्था
};
typedef struct node* NODE;
NODE start = NULL;
int count = 0;
NODE create() {
NODE n = (NODE)malloc(sizeof(struct node));
if (!n) {printf("Memory allocation failed\n");
exit(0);
}
}
printf("Enter USN Name Branch Sem Phone:\n");
scanf("%s %s %s %d %ld",
n->usn, n->name, n->branch, &n->sem, &n->phone);
n->link = NULL;
count++;
return n;
NODE insert_front() {
NODE n = create();
n->link = start;
return n;
}
NODE insert_end() {
NODE n = create(), cur;
if (!start) return n;
cur = start;
while (cur-...
Continuity of Current: The principle of conservation of charge states that charges can neither be created nor destroyed although equal amounts of positive and negative charge may be simultaneously created, obtained by separation, destroyed or lost by recombination.
Equation 5 indicates that , the current or charge per second, diverging from small volume per
unit volume is equal to the time rate of decrease of charge per unit volume at every point.The velocity is given by,
FARADAY'S LAW -In
४. दिइएको कवितांश पढी सोधिएका प्रश्नको उत्तर लेख्नुहोस् :
हिमाललाई न्यानो दिन्छ तराईको काखा
मधेशको पङ्खा बनी बस्छन् भिरपाखा
स्वाभिमानको मियोमाथि पिरतीको दियो
बाली मुस्कुराएका छन् कोटी कोटी...
<!DOCTYPE html>
<html>
<head>
<style>
*{margin:0;padding:0;box-sizing:border-box;font-family:Arial,sans-serif}
body{background:#f4f4f4;color:#333}
header{background:white;padding:10px 50px;border-bottom:1px solid #ddd}
.top-nav{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px}
.logo{font-weight:bold;font-size:22px}
.uiu{color:#000}.info-desk{color:#ff4419}
.auth-nav a{text-decoration:none;color:#666;margin-right:20px;font-weight:bold}
.signup-btn{background:...
Reflex = involuntary motor response.Reflex arc: receptor → afferent nerve → CNS → efferent nerve → effector.Deep tendon reflexes (monosynaptic):Biceps C5–C6 (musculocutaneous) → elbow flexion.Triceps C6–C7 (radial) → elbow extension.Brachioradial C5–C6 (radial) → elbow flexion.Patellar L3–L4 (femoral) → knee extension.Achilles S1–S2 (tibial) → plantar flexion.Superficial reflexes (polysynaptic):Corneal CN V–VII.Abdominal T7–T12.Cremasteric L1–L2.Anal S4–S5.Plantar
1. Human Resource Management (HRM) – Introduction
Human Resource Management (HRM) is the strategic approach to managing people effectively in an organization to achieve organizational goals and improve employee performance.
Definition
HRM is concerned with recruitment, development, motivation, and maintenance of human resources in an organization.
Objectives of HRM
Rules of Composition Composition is the arrangement of visual elements in a photograph. Techniques such as the rule of thirds, leading lines, framing, balance, and symmetry help create visually effective images. Portrait Composition Portrait photography focuses on expressions and personality. Lighting, background, eye placement, and framing are important. Landscape Composition Landscape photography emphasizes depth, perspective, and natural beauty. Foreground interest, horizon placement, and light