Chaitanya Lakshmi
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook

What happens if you add a string to an integer using the + operator?

2/27/2012

0 Comments

 
  • The interpreter outputs a type mismatch error
  • The string is converted to a number and added to the integer
  • The string is discarded and the integer is preserved
  • The integer and string are concatenated together in a new string
  • The integer is discarded and the string is preserved
  • I don’t know
Answer:
The string is discarded and the integer is preserved

0 Comments



Leave a Reply.

    Author

    Write something about yourself. No need to be fancy, just an overview.

    Archives

    February 2012

    Categories

    All
    General
    Krds
    Phponweb

    RSS Feed

Powered by Create your own unique website with customizable templates.