Answer Posted / 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 |
Post New Answer View All Answers
hi i am jyoti i have done sap training in sd and master degree in economics have 2 year exp as enduser in (gdms)and 1 year as sd consultant.as contract basis now what i can do for getting job in it industry
Write a program to find factorial of a number using functions
I want Ada programming language books. Could anyone post me any link for that?
Suppose server object is not loaded into the memory, and the client request for it , what will happen?
Diff between IF and where ?
Plz sent me in .net 2.0 interview Question & answers?
shall we execute our java programmes in jre
what is an INI file?
What is web.configuration? how is it work? & wht is use this?
What sysoption determines where the macro facility searches a specific catalog for complied macro?
Where do we need Operator overloading?
What are events in smartforms?
5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above
what are the advantages of sap on other software ?
How to use string functions in QTP?give some examples