
for(let i = 1; arr.length <100; i++)What will be the output of the following code ?if(i % n1 == 0 && i % n2 ===0){arr.push(str1 +str2)}{arr.push(str1);}else if(i % n2 == 0){arr.push(str2);}else {arr.push(i)}}
#include<stdio.h>int check (int, int);int main(){int c;c = check(10, 20);printf("c=%d\n", c);return 0;}int check(int i, int j){int *p, *q;p=&i;q=&j;i>=45 ? return(*p): return(*q);}