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 |
Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan)
Please describe an example where you used object orientation in one of your programs.
What do you mean by an array ? explain with an example
How does the TCP handle the issue of multiplexing?
Write a program to create a process in UNIX
explain how to make a control visible and invisible during runtime
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 1 number. Find the missing number
What is the first message line that any language learning prints on the screen? and why?
What is a must for multitasking? a) Process preemption b) Paging c) Virtual memory d) None of the above
Number of null pointers in any binary tree
8.In DSP,Define Signal and System?and various type of signals.
Which tag is used to create the frame