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

can i know the source code for reversing a linked list with out using a temporary variable?

6 Answers   Honeywell,


how to swap four numbers without using fifth variable?

2 Answers  


Write a program which returns the first non repetitive character in the string?

0 Answers   Expedia,


In which header file is the null macro defined?

0 Answers  


what information does the header files contain?

6 Answers   BSNL, Cisco, GDA Technologies,






#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?

4 Answers   Ramco,


What does %2f mean in c?

0 Answers  


Why is c called a mid-level programming language?

0 Answers  


int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain me output????

1 Answers  


to convert a string without using decrement operater and string functions

1 Answers  


Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;

5 Answers   ITCO, Wipro,


What are the similarities between c and c++?

0 Answers  


Categories