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

Can I initialize unions?

0 Answers  


Explain how does free() know explain how much memory to release?

0 Answers  


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

0 Answers  


1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

2 Answers   nvidia,


What are operators in c?

0 Answers  






why you will give me a job in TCS.

7 Answers   TCS,


What is the sizeof () operator?

0 Answers  


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

0 Answers   Infosys,


The file stdio.h, what does it contain?

0 Answers  


character array A[12] can hold

5 Answers   Wipro,


how can you print&scan anything using just one character? :) HINT: printf,scanf similer

2 Answers  


What is a volatile keyword in c?

0 Answers  


Categories