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...
Type: Posts; User: sujitkashyap
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...
:) Thanks,
I was really missing this part int **p
Thanks for advice.
I am doing R&D with c++ that's why i asked this question.
Please help me to solve this
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...
#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;