How to find the aerry size
Answer / vijith
#include <stdio.h>
int ArraySize(int array[])
{
int i = 0;
while(array[i] != NULL) i++;
return i;
}
int main(void)
{
int count;
int intarray[10];
for(count = 0;count<=10; ++count)
{
intarray[count] = count;
}
printf("\nintegers in intarray[10] == %d\n",
ArraySize(intarray) );
return 0;
}
Is This Answer Correct ? | 4 Yes | 1 No |
What sysoption determines where the macro facility searches a specific catalog for complied macro?
what is integration testing in real time applications?
what are the 3 forms of a prolog term
what is the software to run the GSM gate opener program
What is %Type,%Rowtype?
In Bioinformatics, a DNA sequence is made up of a combination of 4 characters, namely “A,C,G,T”. A subsequence of a given sequence of characters a0, a1, …an- 1, is any subset of the characters taken in order, of the form ai0 , ai1 ,…..aik-1 where 0 ≤ i0 <i1….< ik-1 ≤ n-1. For example in the sequence “A,C,G,T,G,T,C,A,A,A,A,T,C,G”, we can have subsequences “A,G,T”, “A,C,A,A” and many more. A subsequence is palindromic if it is the same whether read left to right or right to left. For instance, the sequence “A,C,G,T,G,T,C,A,A,A,A,T,C,G”, has many palindromic subsequences, including “A,C,G,C,A” and “A,A,A,A” (on the other hand, the subsequence “A,C,T” is not palindromic). Devise an algorithm (using dynamic programming) that takes a sequence of characters X[0 … n-1] from the alphabet set (A,C,G,T) and returns the (length of the) longest palindromic subsequence. Implement the algorithm in an appropriate language.
I am work in it aompenei
Write a program to find duplicate number from array in minimum time complexity.
Hi all... I had completed MSC(Computer) and had join the construction company based on sap.they want me to work on abap.but software company is totally different from construction company and they want me 2 grasp it as fast i can.i am finding it difficult.what should i do??????
A combination of multiple keys defined in a physical file or logical file is called a _________ key
how we can connect applet with database?
How to create a new dataset only duplicate observations in proc sort procedure?