Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to find the aerry size



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

Post New Answer

More Programming Languages AllOther Interview Questions

Diff between IF and where ?

0 Answers   Accenture,


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?

0 Answers  


Why data bus is bidirectional and address bus is unidirectional?

4 Answers   Infosys, Wipro,


how do you generate source code for the automatic generation for receipt number

1 Answers   Infosys,


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.

0 Answers  


what is difference between restoring and non restoring division?

2 Answers   Texas,


Which tag is used to create table row

2 Answers  


Which tag is used to create the frame

1 Answers  


could you please tell me how to draw the calibration curve for HPLC {the software which we are using}?

0 Answers  


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.

0 Answers   Amazon,


Which language they use during interview?

0 Answers   State Bank Of India SBI,


what do you meant by Platform-Independent in Java?

6 Answers   Persistent,


Categories