How to copy a char array in C??

In C, I have two char arrays: char array1[18] = "abcdefg"; char array2[18]; How to copy the value of array1 to ar...

In Java, how to find if first character in a string is upper case without regex?

In Java, find if the first character in a string is upper case without using regular expressions. ...

C Convert char into char*?

I have a char that is given from fgets, and I would like to know how I can convert it into a char*. I am sure this...

How to truncate C char*??

As simple as that. I'm on C++ btw. I've read the cplusplus.com's cstdlib library functions, but I can't find a simpl...

Conversion of Char to Binary in C?

I am trying to convert a character to its binary representation (so character --> ascii hex --> binary). I kn...

How to malloc char** table??

I am trying to malloc and free a small array/table of single letter strings. I know that this can be done in an arr...