Search code examples
Replace one character with multiple characters...


cstringcharc-strings

Read More
How do I convert a long string into a smaller abbreviation consisting of the first character, last c...


cloopscharc-stringsabbreviation

Read More
my C function is modifying a char array it shouldn't because it's deliberately out of scope...


arrayscpass-by-referencec-stringspalindrome

Read More
Please have a look at the code, clang is giving the error " incompatible pointer to integer con...


cif-statementcharc-stringstolower

Read More
how the null value '\0' assign in the exacted \n index?...


ccharnewlinec-stringsfgets

Read More
GTK function call messes up completely unrelated char* value...


ccharc-strings

Read More
C pointer concept segmentation fault...


csegmentation-faultprintfc-stringsimplicit-conversion

Read More
errors in fizzbuzz in C using String approach?...


cc-stringsfizzbuzz

Read More
wcstok causes segmentation fault...


csplitsubstringc-stringswchar-t

Read More
printf() is printing a character after the terminating character in C, how do I fix this?...


cstringc-strings

Read More
Scanning and Printing strings using an array of strings...


arrayscpointersscanfc-strings

Read More
Runtime error: `load of null pointer of type 'char'` when indexing an array...


cc-stringstrimoperator-precedencepointer-to-pointer

Read More
Malloc is not allocating enough memory, despite being hardcoded to allocate exactly two characters...


csegmentation-faultheap-memorypass-by-referencec-strings

Read More
Fibonacci for letters...


ccharc-stringsfibonaccifunction-definition

Read More
"initialization of ‘char’ from ‘char *’ makes integer from pointer without a cast" when in...


cc-strings

Read More
Reasonable to use a compound literal array as a temporary string buffer?...


cc-stringsc99

Read More
Why do I get a segmentation fault when writing to a "char *s" initialized with a string li...


csegmentation-faultc-strings

Read More
Why does p+1 not produce the same result as p++ in this scenario?...


cfor-loopc-strings

Read More
Converting String to Cstring in C++...


c++stringc-strings

Read More
Append, C-strings and struct member functions...


arraysc-stringspointer-to-member

Read More
Realloc gives error: _CrtIsValidHeapPointer(block)...


cpass-by-referencedynamic-memory-allocationc-stringsrealloc

Read More
Why use C strings in C++?...


c++cstlstringc-strings

Read More
Can't assign string literals to array of characters in C...


cpointersc-stringsstring-literals

Read More
How is C managing memory in this situation?...


cpointersmemoryc-stringsstrtok

Read More
Using .c_str' with pointers (and also pointers to pointers)...


c++c-strings

Read More
C error expected ‘char **’ but argument is of type ‘char (*)[10]’...


cpointersc-stringsstrcatfunction-definition

Read More
Insert length of #defined string literal at first entry of literal at compile time...


cmacrosc-preprocessorc-strings

Read More
Why is strlen() about 20 times faster than manually looping to check for null-terminated character?...


c++cc-stringsstring-lengthstrlen

Read More
How to get rid of the segmentation error while using C...


cinitializationprintfc-strings

Read More
Failure to work on string comparison using function pointer in C...


cfunctioncomparisonc-stringsbsearch

Read More
BackNext