Thanks. It worked after making the space via malloc.
- Indranil
Type: Posts; User: indranil
Thanks. It worked after making the space via malloc.
- Indranil
Hello,
I am writing a program to replace spaces in a string with multiple characters. I have to use memcpy/memmove for this. Please see code below.
int main(void) {
char ch[] = "HELLO...
Hello Everyone,
I am trying to write a program on process syncronization using semaphore. The aim is that the parent process will print first, then the child will print, then...
Hello Everyone,
I am trying to write a code where parent process will increment a variable and then child will increment the same variable(its own copy). However, I see that after child process...