misc c programs