0 Reputation Points
3 Posted Topics
Nowadays anybody can do anything.But he should not miss use his hacking talent.
you can take two arrays and check the condition a[i]==b[j] within 2 for loops.one will be i=o i<size of 1st array i++ and within this j=0 j<=i j++ and in these 2 loops you can check the condition a[i]==b[j] and print elements are same or else come out of loop …
scanf_s("%ch", &answer); this statement at line 14 has problem because it should be either %c or %s.
The End.
Nishali