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
What are linked lists in c?
What is string in c language?
What is #define in c?
What is calloc() function?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
What is meant by 'bit masking'?
For what purpose null pointer used?
What does c in a circle mean?
List some basic data types in c?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Write a progarm to find the length of string using switch case?
Differentiate between static and dynamic modeling.
What is an array in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;