PCB (Process Control Board) ———————————- Every Process has its Process Control Board(PCB) which tells about the process. PCB contains PID,PPID,PC(program counter),nice value of process. PID :- * PID is Process Identification of any process. * It is a number . … Continue reading
//Quick sorting using Recursion #include<stdio.h> #include<stdlib.h> //Prototypes of functions used int * input(int *,int); int * sort(int *,int); void display(int*,int); int main() { int *a,n; printf(“Enter number of numbers you want to sort?\n”); scanf(“%d”,&n); a = input(a,n); a = sort(a,n);//call … Continue reading
#include<stdio.h> #include<stdlib.h> int * input(int *,int); int * sort(int *,int); void display(int*,int); int main() { int *a,n,i,j,c,temp; printf(“Enter number of numbers you want to sort?\n”); scanf(“%d”,&n); a = input(a,n); a = sort(a,n); display(a,n); } int * input(int *a,int n) { … Continue reading
RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: All required headers are included. —————————- revision 1.1 locked by: root; date: 2015/07/08 … Continue reading
RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict emblogic: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: It contains all headers and prototypes of all functions. —————————- revision 1.2 locked … Continue reading
RCS file: mdc.c,v 3 Working file: mdc.c 4 head: 1.5 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 5; selected revisions: 5 11 description: 12 Unique array and codelength areprinted … Continue reading