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);
}

Answers were Sorted based on User's Feedback



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(..

Answer / amit

Answer = 1
because value of k = 1 after first loop execution. so, it next all the values are greater than k and will not print any thing after that.

Is This Answer Correct ?    66 Yes 4 No

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(..

Answer / sudeshna

12

Is This Answer Correct ?    8 Yes 18 No

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(..

Answer / ramkumar

1 2 3 4 5 6 7 8 9 10 11 12

Is This Answer Correct ?    2 Yes 15 No

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(..

Answer / s

20

Is This Answer Correct ?    0 Yes 13 No

Post New Answer

More C Interview Questions

what is computer

4 Answers  


Explain about C function prototype?

0 Answers  


Why c is a mother language?

0 Answers  


What does node * mean?

0 Answers  


What is character constants?

0 Answers  






Which one would you prefer - a macro or a function?

0 Answers  


what is diference between return 0 and return NULL??

3 Answers  


How to find the given no is odd or even without checking of any condition and loops. (Hint: Using array)

4 Answers  


convert 12345 to 54321 withoutusing strig

5 Answers  


When a c file is executed there are many files that are automatically opened what are they files?

0 Answers  


What is a memory leak in structures? How can we rectify that?

2 Answers  


What is Your Name :)

1 Answers  


Categories