Here we have to understand what the functions printf() and scanf() returns..
1) printf() returns the number of characters that are printed..
2) scanf() unlike the printf() function returns the number of items which are inputted instead of number of characters..
printf("%d", scanf("%s", arr));
So here we are inputting only one item which is "arr"..So
scanf("%s", arr) returns 1 as the return value as number of items here is 1..So 1 will be printed by printf().
Hence B) should be the correct answer..