You can't just cast those types and expect to get useful results. Casting is a minimal operation which can work to transform data in certain predefined ways, but it won't (for example) intelligently turn integers into their string representations.
That's why your compiler is complaining.
If you want the string representation of numeric data, you have to convert them differently, with something like:
char intStr[30]
sprintf (intStr, "%d", int1);
If you're looking to get string representations of them all, you can do something like:
char *str = "helloo";
int int1 = 1000;
short st1[]={32760};
float flt = 2.345;
char mybuff1[50], mybuff2[50], mybuff3[50], mybuff4[50];
sprintf (mybuff1, "%d", int1);
sprintf (mybuff2, "%s", str);
sprintf (mybuff3, "%f", flt);
sprintf (mybuff4, "%d", st1[0]);
char *c [] = {mybuff1, mybuff2, mybuff3, mybuff4);
And be aware that, although C and C++ have very similar idioms, and are mostly compatible if you stick to a subset, they are not the same language and the best way to do something changes dramatically depending on the actual language you're using.
For example, it's rarely necessary to use C-style strings in C++ since that language provides an impressive real string type. Ditto for malloc/free
as opposed to new/delete
and many other aspects.
Questions should generally be tagged C or C++, rarely both.