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 |
What is the deal on sprintf_s return value?
WHOT IS CHAR?
Why do we need arrays in c?
what is software?
What is the output of the program #include<stdio.h> #include<conio.h> void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }
can u give me the good and very optimised code for a car racing game?
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
How will you divide two numbers in a MACRO?
What is extern c used for?
f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
How can I change the size of the dynamically allocated array?