Question: what will the computer write when the given program runs.? Interpret the code given. #include using namespace std; int main() { int n,m,i,j,k; char s1[]
what will the computer write when the given program runs.? Interpret the code given.
#include
using namespace std;
int main()
{ int n,m,i,j,k;
char s1[] = "karsiyaka" ;
char s2[] = "istanbul" ;
n=strlen(s1); m=strlen(s2);
for(i=0; i
{ for(j=0; j
{ if(s1[i] == s2[j])
{cout<
}
return 0;}
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
