Search:

Type: Posts; User: sujitkashyap

Search: Search took 0.00 seconds.

  1. read character pointer to character pointer, but printing garbage

    char *str2;
    char *first1 = "Learn";
    char *second1 = "C";
    char *third1 = "Online";
    str2=(char *)malloc(strlen(first1)+strlen(second1)+strlen(third1)+3);
    sprintf(str2, "%s %s...
  2. Replies
    5
    Views
    1,189

    :) Thanks, I was really missing this part int...

    :) Thanks,
    I was really missing this part int **p
  3. Replies
    5
    Views
    1,189

    Thanks for advice. I am doing R&D with c++...

    Thanks for advice.
    I am doing R&D with c++ that's why i asked this question.
    Please help me to solve this
  4. Replies
    5
    Views
    1,189

    dynamic 2d-array

    Hi All,

    While running the below code i am getting
    Error like :-

    In member function ‘void Matrix::get_element(int, int, int)’:
    cons_2d_array.cpp:13:9: error: invalid types ‘int[int]’ for...
  5. how to clear bufferi fflush(stdin) is not working

    #include<stdlib.h>
    #include<stdio.h>
    #include<string.h>
    struct word_l {
    char word[100];
    char meaning[100];
    struct word_l * next;
    };
    typedef struct word_l word;
Results 1 to 5 of 5