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

Why doesnt that code work?

0 Answers  


write a program to swap two variables a=5 , b= 10 without using third variable

5 Answers  


When is a “switch” statement preferable over an “if” statement?

0 Answers  


write the program to find multiplication of 2-D matrix??????????

1 Answers  


what does keyword ‘extern’ mean in a function declaration?

1 Answers   Emerson,






What are integer variable, floating-point variable and character variable?

0 Answers  


Who had beaten up hooligan "CHAKULI" in his early college days?

1 Answers  


What is getch () for?

0 Answers  


differentiate built-in functions and user – defined functions.

0 Answers  


Mention four important string handling functions in c languages .

0 Answers  


Is c functional or procedural?

1 Answers  


what is the mean of c languages.

1 Answers   Polaris,


Categories