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...

what is the difference between : func (int list[], ...) or
func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer

Answer Posted / vimal

Nothing,because ultimately pointer to the first element of
array is send to the function,therefore using both method
changes made in called function will affect the calling
function. In one first you indirectly reference the pointer
and in other you directly reference the pointer.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of external class?

1071


How can I implement a delay, or time a users response, with sub-second resolution?

1078


Why do some versions of toupper act strangely if given an upper-case letter?

1078


can we have joblib in a proc ?

2307


Explain what is a pragma?

1049


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

1176


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1401


Explain the use of 'auto' keyword

1125


Explain how can I right-justify a string?

1046


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1192


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2260


Explain the use of fflush() function?

1085


What is the benefit of using const for declaring constants?

1049


What is enumerated data type in c?

1083


Find MAXIMUM of three distinct integers using a single C statement

1069