Mega Code Archive

 
Categories / C Tutorial / Printf Scanf
 

Scanf

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