We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
In C you can't just return in the above way
Remember that C does'nt supports String data type
You have to use char arrays in place for String
you can try this
char date[] = "26.09.1918";
return date;
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day of the Programmer
You are viewing a single comment's thread. Return to all comments →
In C you can't just return in the above way Remember that C does'nt supports String data type You have to use char arrays in place for String you can try this
char date[] = "26.09.1918"; return date;