Computer Science, asked by malaiaji, 1 year ago

main(){int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ;int i, j , k=99 ;for(i=0;i<3;i++)for(j=0;j<4;j++)if(a[i][j] < k) k = a[i][j];printf("%d", k);}


Anonymous: write yr ques properly
Anonymous: edit it
malaiaji: ans is given in this website but i have a doubt and i cant understand so pls give me a correct explanation
Anonymous: but ques is not clear
malaiaji: Main(){int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ;int i, j , k=99 ;for(i=0;i<3;i++)for(j=0;j<4;j++)if(a[i][j] < k) k = a[i][j];printf("%d", k);}
Anonymous: give space and rewrite yr ques
malaiaji: ok wait

Answers

Answered by Ajayrajchavda
0
result is 1 bcoz k value change....so answer is 1....
answer:1
Similar questions