SAN FRANCISCO (Reuters) - Apple Inc posted a smaller-than-expected 6 percent rise in quarterly revenue on Tuesday, after selling 35.2 million iPhones in an increasingly competitive smartphone market.