In which order do the following gets evaluated 1. Relational 2. Arithmetic 3. Logical 4. Assignment
RCS file: ./linklist1.c,v Working file: ./linklist1.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: make a struct for linklist and defined three pointers start,prev,end . data store … Continue reading
RCS file: file.c,v Working file: file.c head: 1.18 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 18; selected revisions: 18 description: This is main Program file for the Multiple Data Compression(MDC) in which i use file_open … Continue reading
MAIN.. #include”header.h” int main() { int choice,n=0; struct node *start; start=NULL; printf(“\n ENTER THE SIZE OF CIRCULAR QUEUE\n”); scanf(“%d”,&n); while(1) { choice=getchoice(); operation(choice,&start,n); } return 0; } FUNCTION DEFINITIONS.. #include”header.h” struct node *front,*rear=NULL; struct node *temp =NULL; int count=-1,flag=0,num=0; int … Continue reading
HEADER *************************************************************** #include<stdio.h> #include<stdlib.h> struct cq { int info; struct cq *next; }; int getchoice(); int operation(int, struct cq **, struct cq **, struct cq **); int enqueue( struct cq **, struct cq **, struct cq **); int display( struct … Continue reading
RCS file: file.c,v Working file: file.c head: 1.17 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 17; selected revisions: 17 description: This is main Program file for the Multiple Data Compression(MDC) in which i use file_open … Continue reading
RCS file: my_fnts.c,v Working file: my_fnts.c head: 1.56 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 56; selected revisions: 56 description: funtions moved to this file —————————- revision 1.56 date: 2014/07/21 12:24:34; author: root; state: Exp; … Continue reading
RCS file: ll.c,v Working file: ll.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: creat function added insert function added —————————- revision 1.5 locked by: root; date: … Continue reading
RCS file: ll.c,v Working file: ll.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: creat function added insert function added —————————- revision 1.5 locked by: root; date: … Continue reading
RCS file: functionlink.c,v 3 Working file: functionlink.c 4 head: 1.2 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 2; selected revisions: 2 11 description: 12 making link list using Functions. … Continue reading
2 RCS file: link.c,v 3 Working file: link.c 4 head: 1.2 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 2; selected revisions: 2 11 description: 12 making link list without … Continue reading
1 #include<stdio.h> 2 #include<stdlib.h> 3 4 struct node 5 { 6 int info; 7 struct node *next; 8 struct node *prev; 9 }; 10 11 12 void mem_fail(); // report failure of memory allocation and exit the program. 13 void … Continue reading
int fix_cnode(struct node **start, struct node **start1) { struct node *temp,**ma,*temp1; int count = 0,i,flag =1; temp = *start; ma = calloc(sizeof(struct node *),20); while(1) { flag = 1; if(!(temp->next)) { printf(“there is no loop\n”); goto o; } for(i=0; i<count; … Continue reading
int fix_loop(struct node **start)// pass start as a pass by reference argument { struct node *temp,**ma; int count = 0,i; temp = *start; ma = calloc(sizeof(struct node *),20); while(1) { if(!(temp->next)) { printf(“there is no loop\n”); return -1; } for(i=0; … Continue reading
RCS file: ./simple.cpp,v Working file: ./simple.cpp head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: printing “My name is Ruchi”using string mystring —————————- revision 1.1 date: 2014/06/06 12:46:39; author: root; … Continue reading