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 |
Is file a keyword in c?
can we declare a function in side the structure?
What are directives in c?
Example of friendly function in c++
How can my program discover the complete pathname to the executable from which it was invoked?
What is formal argument?
1) int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain the explain the output
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
can we implement multi-threads in c.
write a program fibonacci series and palindrome program in c
0 Answers Aditi Placement Service,
What does a pointer variable always consist of?
Why doesnt this code work?