Ans.: The user will input a positive integer and the method should return the sum of all the digits in that integer.
- input: 168, output: 15
I am providing latest Interview Questions with Answers. Candidate has prepared their interview and get job. Mobile: 8920128728
Ans.: The user will input a positive integer and the method should return the sum of all the digits in that integer.
You can use IDENT_CURRENT to look up the last identity value to be inserted, e.g. IDENT_CURRENT( 'MyTable' ) However, be caut...
No comments:
Post a Comment