Search:

Type: Posts; User: indranil

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    7,037

    Thanks. It worked after making the space via...

    Thanks. It worked after making the space via malloc.

    - Indranil
  2. Replies
    2
    Views
    7,037

    Need help with crash after memcpy

    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...
  3. Replies
    4
    Views
    14,428

    Need help with process synchronization

    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...
  4. Replies
    7
    Views
    6,027

    Need help with fork and exit

    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...
Results 1 to 4 of 4