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
How to merge Action Form with Dyna Action Form in Struts.
Write a program to show polymorphism.
Difference between views and index in sas programming
what is the basic and unique feature of dotnet
How to know we are in home page of a web application using QTP
What are the Short cut Keys of Tally ERP?
write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.
when a query is made on Logical file in DB2/400, will the records satisfying select/omit criterion be fetched from all members of physical file or only the member with same name as physical file?
When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.
Explain the types of operations? Draw the figure for shift and rotate operations?
could u please also write an example of a code that involves instances from an abstract class just as u did for interfaces because u said it could also work which i really doubt. thanks
Any real time example of O2C process from taking order till creating invoice.
How to print No.of.rows affected after updation using ADO.Net
What are events in smartforms?
MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON