APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : S1 and S2

Year : 2018

Term : MARCH

Branch : BIOTECHNOLOGY

Scheme : 2015 Full Time

Course Code : CS 100

Page:25





PDF Text (Beta):

for(c=0;cل‎ 0; d++) scanf("%d", &first[c][d]);
printf("Enter number of rows and columns of second matrix\n");
scanf("%d%d", &n, &l); — printf("Enter elements of second matrix\n"); for (c =
O;c |; d++) scanf("%d", &second[c][d]); for (c = 0;

c
for (k = 0; k< ‏رم‎ k++) { sum = sum +
first[c][k]*second[k][d];
}
multiply[c][d] = sum;
sum = 0;

}

} printf("Product of the matrices:\n");

for (c=0;c|; d++) printf("%d\t", multiply[c][d]);
printf("\n");
) } return 0;
}
22.a)
#include
int main() ) ‏عقطء‎
‎str1[30], str2[30];
int i;
printf("\nEnter
two strings :");
gets(str1);
gets(str2); 1-0) while (str1[i] == str2[i] && str1[i]
|= 10) i++; if (str1[i] > str2[i]) printf("str1 >
str2"); else if (str1[i] > str2[i])

Similar Question Papers