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 |
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???
In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
What are the Short cut Keys of Tally ERP?
what is the extension of SPDS Dynamic cluster tables?
what is the use of occurs 10 or (any number) in the internal table declaration with header line.
Write a program to reverse a number?
Q1.Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user inputs a number out of the specified range, the program should show an error and prompt the user for a valid input.
differences between qtp10.0 and 11.0 ?
Mainly Related to Oracle, DBMS , Oracle Stored Procedures, Functions, Oracle 9i Architecture, Redo logs..., Views,
0 Answers Indian Overseas Bank,
how can i create report in abap to insert data in table pa0002 using insert command
Info for guidewire documents and interview questions
How many ways we can fill a dataset in .Net