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);
}
Answer Posted / 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 |
Post New Answer View All Answers
explain what are actual arguments?
What happens if a header file is included twice?
Can you return null in c?
What are static variables in c?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What does return 1 means in c?
What is array in c with example?
How important is structure in life?
Explain how can you avoid including a header more than once?
What is the code for 3 questions and answer check in VisualBasic.Net?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
write a program to copy the string using switch case?
What is the maximum no. of arguments that can be given in a command line in C.?
Which header file is essential for using strcmp function?
What is multidimensional arrays