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 |
Diff between IF and where ?
What is the difference between CLEAR & RESET and OPEN & CLOSE OPCOEDS(USING RPG/400).wheare we can use this?can any body tell me in real time senario with example please?
Why data bus is bidirectional and address bus is unidirectional?
how do you generate source code for the automatic generation for receipt number
I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.
what is difference between restoring and non restoring division?
Which tag is used to create table row
Which tag is used to create the frame
could you please tell me how to draw the calibration curve for HPLC {the software which we are using}?
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.
Which language they use during interview?
0 Answers State Bank Of India SBI,
what do you meant by Platform-Independent in Java?