Hi, Anybody could tell me What is the script for Reverse of
Given number. Ex:236--632. Thanks in Advance..
Answer Posted / deepak agrawal
int reverse=0;
while(digit)
{
reverse*=10;
reverse+=digit%10;
digit/=10;
}
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
How can you fetch the value of a cookie?
what is the differance between BYVAL,BYREF?
Which command is used for writing text on a page?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Explain about the support of asp for vb script functionality?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
Which operator can be used to check if two numbers are equal or not in vbscript?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
What are the different types of operators and their order of precedence?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
What are class properties?
what is event handling?
Explain about the asc function?