Scanf Test
public c v1 · immutable#include<stdio.h>int main(){ char test1[60],test2[60]; int ret1,ret2; printf("Enter the first string:\n"); ret1=scanf("%10s", test1); printf("Enter the second string:\n"); ret2=scanf("%10s", test2); printf("\n%s %s", test1, test2); printf("\n%d %d\n", ret1, ret2); /*prints "1 1"*/ return 0;}