ctype(123.34,integer) - should it throw an error? Why or
why not?



ctype(123.34,integer) - should it throw an error? Why or why not?..

Answer / aravindreddy

It would work fine. As the runtime type of 123.34 would be
double,
and Double can be converted to Integer.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Please explain what is the difference between encrypting a password and applying a hashing?

0 Answers  


What tools is used to develop .NET applications?

0 Answers  


What are the contents of assembly?

4 Answers   ABC, Ksb,


What is the use of gacutil.exe?

0 Answers   Amazon,


What is Datatype Conversion in Vb.net?

1 Answers  






What are Generics? Where do we use them.

2 Answers   Value Labs,


What are the security policy levels in .Net

0 Answers  


what is yield keyword in .Net?

2 Answers  


C++ & C# differences ?

1 Answers  


What is an Exception? How many exceptions exist in Dot net and explain them?

2 Answers   CSC, TCS,


What is meant by localization?

0 Answers  


Explain what are an object and a class?

0 Answers  


Categories