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

What is a strong name in .net?

0 Answers  


for the textbox if i want to allow only numbers.what ever the characters u enter it should not take.which event u used?

5 Answers   IBM,


How do you turn off cookies for one page in your site?

3 Answers   Siebel Systems,


what is dotnet architecture? can anyone explain that.

1 Answers  


Explain how to manage pagination in a page using .net?

0 Answers  






1 mor thing guyz....can i go for C# directly without C++ /JAVA knowledge for dot net ..???

3 Answers  


What are the differences between user control and server control?

0 Answers  


What is func in .net 3.5?

0 Answers  


What are the core differences between .NET Languages ?

0 Answers   TCS,


What is use of ContextUtil class?

1 Answers  


What is delegation in .net?

0 Answers  


What are the different parts of an Assembly in .Net?

1 Answers  


Categories