Solution in C
Code
# Code
```c []
bool canConstruct(char* s, int k) {
    if(k > strlen(s)) return false;
    if(k == strlen(s)) return true;
    
    int *freq=calloc(sizeof(int),26);
    for(int i=0;i<strlen(s);i++){
        freq[s[i]-'a']++;
    }

    int oddcount=0;
    for(int i=0;i<26;i++){
        if(freq[i]%2!=0) oddcount++;
    }

    free(freq);
    return oddcount <= k;
}
```
['C']