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 |
Given a set. Write the pseudo code to get all the subsets for the given set. Eg. Input : {1,2} Output : (),(1),(2),(1,2)
we can use parameters in cl and rpg pgms...etc.in particular i think when we use data area or datastructure or data queue .i think this means which one====in my question...parameters cannot be passed in which one????hope understand my qstn???
Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com
can we convert .class file to dll file
Write a program to create a process in UNIX
differenc between visual studio 2005,2008 & 2010?
what are resources in case of Threads
Is strus threadsafe or not?
can we allocate memory for interface? if no then why?
What is the difference between CriteriaQuery and CreateQuery in Hibernate???? Thanks in advance!!!!!!
what are partial classes. Where is the entry point of partial classes.
how to fin top two miximum values in sql? not 2nd both max value of 1st and 2nd both have to find out