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 pointers in C? Give an example where to illustrate their significance.
How can I access an I o board directly?
What is the purpose of the preprocessor directive error?
I came across some code that puts a (void) cast before each call to printf. Why?
What is the purpose of scanf() and printf() functions?
What does s c mean in text?
Why main is not a keyword in c?
What is c language & why it is used?
Explain how are portions of a program disabled in demo versions?
What is the size of structure in c?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
how to create duplicate link list using C???
What is structure padding and packing in c?
What is structure padding in c?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?