User Profile

Collapse

Profile Sidebar

Collapse
Salvi
Salvi
Last Activity: Jan 31 '09, 07:28 AM
Joined: Feb 19 '08
Location: India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Salvi
    replied to Doubt in Pointers
    in C
    I mean,
    printf( "%c\n", (&x)[0][2] );
    printf( "%c\n", &x[0][2]);
    See more | Go to post

    Leave a comment:


  • Salvi
    replied to Integer Overflow Corruption
    in C
    The variables a and b are int....
    See more | Go to post

    Leave a comment:


  • Salvi
    started a topic Doubt in Pointers
    in C

    Doubt in Pointers

    Dear friends,
    Kindly explain me the following difference between the two statements,
    char x[]="harry potter";
    printf( "%c\n", (&x)[0][2] );
    printf( "%c\n", &x[0][0]);

    Thanks in advance.

    Regards,
    Salvi.
    See more | Go to post

  • Salvi
    started a topic Integer Overflow Corruption
    in C

    Integer Overflow Corruption

    Dear Friend,
    Please view the following question.

    Which one of the following statements is the shortest statement that will prevent integer overflow corruption in the result?
    Choice 1 long c=(long)a*(long )b; ( is not the answer).
    Choice 2 long c=(long)a*b;
    Choice 3 long c=a*b;
    Choice 4 long int c=a*b; [Ans]
    Choice 5 long c=(long)(a*b);

    But I don't...
    See more | Go to post

  • Salvi
    started a topic So_debug
    in C

    So_debug

    Dear Friends,
    Can anyone explain me about SO_DEBUG option in the setsockopt function.

    Regards,
    Selvi.
    See more | Go to post

  • Salvi
    replied to memset vs calloc
    in C
    Thanks a lot.

    Regards,
    Selvi....
    See more | Go to post

    Leave a comment:


  • Salvi
    started a topic memset vs calloc
    in C

    memset vs calloc

    Dear Friends,
    Can any one tell me the difference between memset and calloc function in C.

    Regards,
    Selvi
    See more | Go to post

  • Salvi
    replied to stderr
    in C
    Dear Friends ,
    Thanks a lot for your answers .
    I too got one answer that the reason stderr is unbuffered so that any error messages are displayed as quickly as possible, regardless of whether they contain a newline .

    Regards,
    Salvi...
    See more | Go to post

    Leave a comment:


  • Salvi
    started a topic stderr
    in C

    stderr

    Dear Friends ,
    Why standard error is always unbuffered ?

    Thanks in advance . . .

    Regards ,
    Salvi...
    See more | Go to post
No activity results to display
Show More
Working...