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 i know the source code for reversing a linked list with out using a temporary variable?
how to swap four numbers without using fifth variable?
Write a program which returns the first non repetitive character in the string?
In which header file is the null macro defined?
what information does the header files contain?
6 Answers BSNL, Cisco, GDA Technologies,
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?
What does %2f mean in c?
Why is c called a mid-level programming language?
int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain me output????
to convert a string without using decrement operater and string functions
Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;
What are the similarities between c and c++?