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 the deal on sprintf_s return value?

0 Answers  


WHOT IS CHAR?

4 Answers   TCS,


Why do we need arrays in c?

0 Answers  


what is software?

7 Answers   Wipro,


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

4 Answers   CTS, Oracle,






can u give me the good and very optimised code for a car racing game?

0 Answers  


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

1 Answers  


How will you divide two numbers in a MACRO?

0 Answers   Apps Associates,


What is extern c used for?

0 Answers  


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?

5 Answers   Geometric Software,


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

0 Answers  


How can I change the size of the dynamically allocated array?

0 Answers  


Categories