want to copy the whole struct try this *dest =*src ;
The above code is similar to arun10427 code , but I changed the function call as a call by reference.
typedef struct { int inst_addr; }instruction; void copy_struct(instruction *src,instruction *dest) { dest->inst_addr = src->inst_addr; }...
Server process writes the chunk of the files into the message queue , why you need four process to read from the message queue. Confused ?
Did u mean u'll give a sequence of number like 1,2,3,6,7,23, etc and the code need to find the range of these numbers as 1 to 23 ,...
Hope this is a better way #include<stdio.h> #include<string.h> #include<malloc.h> main() { char *str ; char string[]="welcome to...
Top controls your terminal by using some special terminal characters , thats for bold the text and highlights it like that , If you want to...
Separate names with a comma.