Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between put and putc statement?



what is the difference between put and putc statement?..

Answer / Munish Kumar Gautam

In Ruby, put prints a string to standard output and automatically adds a newline character at the end. putc, on the other hand, prints a single byte of data without adding a newline character.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Explain Ruby if-else statement?

1 Answers  


Overview of ruby programming language?

1 Answers  


Explain module mixins in Ruby?

1 Answers  


Explain about ruby names?

1 Answers  


What function converts all html special symbols to html entities in ruby?

1 Answers  


Tell me an array [1,2,34,5,6,7,8,9], product it using a method?

1 Answers  


Explain ruby data types.

1 Answers  


Can you list out the few features of ruby?

1 Answers  


Can you please explain what is the difference between string and symbol?

1 Answers  


How an exception is handled in Ruby?

1 Answers  


What are the different environment variables present in the ruby?

1 Answers  


Tell me how you can create a controller for subject?

1 Answers  


Categories