No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i have a problem in which i have to remove char from strings by sending one string and char ata time to a function. in the below code it works fine for first string but for each successive string initial characters are not passed ..like for second call first chatcter … |
|
need to replace all occurences if substring by new string. below code replace first occurence but not other substrings present in input string. |
|
i have two func from one i am passing address of a matrix and in another function getting elemts in matrix. getting coredump on entering first value fn1() { int aiMat[MAX_ROW][MAX_COL]; int iNoOfRows,iNoOfCol; /* calls the function to get matrix from user*/ fnGetMatrix(aiMat,&iNoOfRows,&iNoOfCol); ............ .............. } void fnGetMatrix(int **aiMat,int *iNoOfRows,int … |