Mega Code Archive

 
Categories / C / Code Snippets
 

Skip the integer between the two strings

#include <stdio.h> int main(void) { char str[100], str2[100]; int i; printf("skip the integer between the two strings:"); scanf("%s%*d%s", str, str2); return 0; }