Microsoft interview question

Write a program to implement the Integer.parseInt() function.

Interview Answer

Anonymous

Jan 11, 2013

//Assume that str only contains integers int a=0; for(int i=0; i