Hi, Anybody could tell me What is the script for Reverse of
Given number. Ex:236--632. Thanks in Advance..
Answer Posted / rohit_allinterview
int reverse(int num)
{
int temp,num2=0;
printf("Original number is %d",num);
while(num!=0)
{
temp=num%10;
num=num/10;
num2=num2+temp;
num2=num2*10;
}
num=num2/10;
printf("Reversed Number is %d",num);
}
// Incase of any mistake or doubt plz drop mailto
rohit_vit2020@yahoo.co.in
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When does ‘on click of button’ event gets triggered in the vbscript language?
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
What is the purpose of regexp object in vbscript?
Mention what is vbscript?
What is the use of the instr function?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
Explain about operator precedence in vb script?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
What is sql loader? Explain the files used by sql loader to load file?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
Is vbscript a case-sensitive or case-insensitive?
What purpose does ‘on error resume next’ serves?
who will create the object?
what is the features of visual basic?