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 |
can a union be self-referenced?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
The C language terminator is a.semicolon b.colon c.period d.exclamation mark
Which node is more powerful and can handle local information processing or graphics processing?
What is #include conio h?
how to impliment 2 or more stacks in a single dimensional array ?
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
Explain what does the function toupper() do?
Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)ferror() A)ii B)i,ii C)iii D)iv
How can you print HELLO WORLD without using "semicolon"?
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??