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
how to make program without <> in library.
Can we use visual studio for c?
SRUCTURE PROGRAMMING
What is a pointer variable in c language?
What is a newline escape sequence?
i want to have a program to read a string and print the frequency of each character and it should work in turbo c
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What is pointers in c with example?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What should not contain a header file?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1