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 |
why we need to take u?
Is CTS company do serious backgroung check?
Difference of Console, web & windows applications?
what are all the ant command options
what is an INI file?
What is the difference b/w Object base and object oriented programming?
How same session variable can be used in both Asp and Asp.net?
what is the difference between uservariables and systemvariables (in Environmental variables)???
Wats the name of the first os
Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?
THE CHANNEL IN DATA COMMUNICATION CAN BE?
what is the use MDM(Master Data Management)and meaning