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

Design a program using an array that searches a number if it
is found on the list of the given input numbers and locate
its exact location in the list.

Answer Posted / vignesh1988i

small mistake in above program.... in last printf pl. change

*(*(ptr+i)) as (*(ptr+i))

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is structure in c definition?

1044


How are 16- and 32-bit numbers stored?

1282


What is the difference between NULL and NUL?

1288


What is the scope of local variable in c?

1120


Can you write a programmer for FACTORIAL using recursion?

1035


What is advantage of pointer in c?

1179


What is function what are the types of function?

991


Differentiate between static and dynamic modeling.

1099


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

1088


What is the difference between procedural and functional programming?

1072


Explain what is output redirection?

1185


What is pass by value in c?

1065


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3532


Describe how arrays can be passed to a user defined function

1287


Explain how do you override a defined macro?

1068