0
What are the return types available in C?
Other than int,char,float,double and void.
5 Answers
+ 6
bool, string.
+ 4
actually bool is not an actual type in C,
but you can include <stdbool.h> apparently to use it
and string is just a pointer to the beginning of an array (char*), so it not an actual type, but a char* pointer can be returned tho
anyway, here you can find some return types
https://msdn.microsoft.com/en-us/library/ckwkyfdb.aspx
+ 3
String isn't really a natural type in c though.
0
Thank u so much.That link was really helpful.
0
how to return strings using functions in C language?