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

Tell me how you can list all routes for an application?

1 Answers  


How will you rename and delete a file in Ruby?

1 Answers  


What is the difference between a class and a module?

1 Answers  


Tell us what is the difference between dynamic and static scaffolding?

1 Answers  


In how many ways items can be removed from array in Ruby?

1 Answers  


Explain the types of variables available in ruby class?

1 Answers  


Tell me how you can create a controller for subject?

1 Answers  


Tell me how do you remove nil values in array using ruby?

1 Answers  


Explain the garbage collection feature of ruby?

1 Answers  


What is the difference between static and dynamic scaffolding?

1 Answers  


How is visibility of methods changed in ruby?

1 Answers  


Explain about variables?

1 Answers  


Categories