6 kyu
C typeof
Description:
You have to implement a typeof
unary operation that shall yield the type of its argument as a string.
It should work for the following types :
int
float
double
void*
char*
int*
const int*
void (*) (void)
struct timespec // defined in <time.h>
div_t // defined in <stdlib.h>
If the argument is of any other type, the result should be "unknown type"
.
Note : Pay attention to the way your code is run in the sample tests.
Fundamentals
Stats:
Created | Jan 28, 2021 |
Published | Jan 28, 2021 |
Warriors Trained | 379 |
Total Skips | 34 |
Total Code Submissions | 199 |
Total Times Completed | 71 |
C Completions | 71 |
Total Stars | 9 |
% of votes with a positive feedback rating | 93% of 21 |
Total "Very Satisfied" Votes | 19 |
Total "Somewhat Satisfied" Votes | 1 |
Total "Not Satisfied" Votes | 1 |
Total Rank Assessments | 5 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |