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
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 |
Why doesnt that code work?
write a program to swap two variables a=5 , b= 10 without using third variable
When is a “switch” statement preferable over an “if” statement?
write the program to find multiplication of 2-D matrix??????????
what does keyword ‘extern’ mean in a function declaration?
What are integer variable, floating-point variable and character variable?
Who had beaten up hooligan "CHAKULI" in his early college days?
What is getch () for?
differentiate built-in functions and user – defined functions.
Mention four important string handling functions in c languages .
Is c functional or procedural?
what is the mean of c languages.