小文字列を大文字列化

#include <stdio.h>
#include <ctype.h> //toupper用

void ToBig(char *s); //プロトタイプ宣言

int main(void)
{
        char str[100];

        scanf("%s", str);

        ToBig(str);

        printf("%s", str);

        return 0;
}

void ToBig(char *s)
{
        while(*s)
        {
                *s = toupper(*s);
                s++;
        }
}