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


atoi, which takes a string and converts it to an integer.
write a program that reads lines(using getline), converts
each line to an integer using atoi and computes the average
of all the numbers read. also compute the standard deviation


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

write a programe to find the factorial of given number using recursion

3 Answers  


I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....

2 Answers  


write a program to compare 2 numbers without using logical operators?

5 Answers   IBM,


What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }

1 Answers   Google,


Explain threaded binary trees?

0 Answers  


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

0 Answers  


Do you know pointer in c?

0 Answers  


Why array is used in c?

0 Answers  


Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.

3 Answers   Google,


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

0 Answers  


Is printf a keyword?

0 Answers  


How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.

1 Answers  


Categories