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 |
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }
how many keywords are available in 'c' language a) 32 b) 34 c) 45 d) 48
Is it possible to create recycle bin in mobiles?
What is self-referential structure in c programming?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
if p is a string contained in a string?
What are preprocessor directives?
how to swap 2 numbers within a single statement?
What is volatile variable in c?
what is default constructor?
Which command is more efficient? *(ptr+1) or ptr[1]