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

How many loops are there in c?

0 Answers  


Why c is called a mid level programming language?

0 Answers  


Is c is a middle level language?

0 Answers  


Do you know what is a programing language ?

0 Answers  


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

0 Answers  


for (i <= 5 && i >= -1;++i; i > 0) { printf("%d ", i); }

1 Answers  


for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????

7 Answers  


What is %d used for?

0 Answers  


What is return type in c?

0 Answers  


Will Macros support multiple arguments ?

7 Answers   Oracle,


what is the diference between pointer to the function and function to the pointer?

2 Answers   Infosys,


what is the difference between c and java?

1 Answers  


Categories