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

what do u mean by tagging

0 Answers  


What is std::auto_ptr?

1 Answers   Amazon,


Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming

1 Answers  


Tag for turning an image into a hyperlink is

0 Answers  


what is meaning of MDM in sap?let me know that meaning

0 Answers  


can anyone please tell me the procedure for the NIC personal interview as i have been selected for the post of scientist/technical assistant B

2 Answers   NIC,


hai i am mca 2009 fresher.please tell me which certification helps me to get an IT job faster which institute is good in hyderabad.please mail me to prasanna.1856@rediff.com

0 Answers  


It is possible to take number of controls added to form at run-time.ex-when user enter 6, 6 text boxes get added to form,next time number of controls get change as per user number enter. What is code for that?

0 Answers   Honeywell,


needs examples for black box testing and white box testing

1 Answers   CTS, IBM, Wipro,


What is algorithm in SCD Type2(SAS DI Studio Transformaton)?

2 Answers  


How to display questions one by one in jsp and I wants to store the answers in my database?

0 Answers  


Java is called as pure objerct oriented programming language, where as c++ is not completely object oriented.can any explain the detailed differenec between these two

4 Answers  


Categories