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 |
how can write all 1to 100 prime numbers using for loop,if and break ?
What are the features of c languages?
What is the right type to use for boolean values in c? Is there a standard type?
Once I have used freopen, how can I get the original stdout (or stdin) back?
What is 02d in c?
Can you please compare array with pointer?
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
wat are the two methods for swapping two numbers without using temp variable??
What is Bitwise Operator and how it works?
Write a C program to count the number of email on text