This is my code so far:
#include <stdio.h>
#define DIM 100
int main (){
    char rest[DIM];
    scanf ("%s", rest);
    char first;
    first = rest[0];
The input the user will put will either be something like "1 dsdsff e" or "2 dej deer". How can I save the different words in rest that will be separated by " "? And disregard the first number since I've already stored it.
 
     
     
     
    