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


Please Help Members By Posting Answers For Below Questions

What are pointers in C? Give an example where to illustrate their significance.

746


How can I access an I o board directly?

620


What is the purpose of the preprocessor directive error?

676


I came across some code that puts a (void) cast before each call to printf. Why?

674


What is the purpose of scanf() and printf() functions?

719






What does s c mean in text?

605


Why main is not a keyword in c?

642


What is c language & why it is used?

574


Explain how are portions of a program disabled in demo versions?

649


What is the size of structure in c?

700


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

3975


how to create duplicate link list using C???

2069


What is structure padding and packing in c?

614


What is structure padding in c?

621


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

727