How to Increment the value of the empid E001 for each and
every employee by using the programe?



How to Increment the value of the empid E001 for each and every employee by using the programe?..

Answer / akshay

Algorithm:
1.Take last used value into string variable.
2. Use String function to remove alphabet from value and store in temp string.
3. convert remaining part into int32.
4. increment by 1.
5. Append temp string and incremented value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

what is the sylabus for priliminaries?

0 Answers  


what is the definition of incapsulation

2 Answers  


4. What do you mean by a prototype? Define analysis prototype

1 Answers  


write a programe to calculate the simple intrest and compund intrest using by function overlading

0 Answers  


What does the keyword "static" mean?

4 Answers   TCS,






What are the main differences between procedure oriented languages and object oriented languages?

9 Answers   IBM, Infosys, Wipro,


What is ambiguity in c++

4 Answers   Accenture, Mphasis,


What does <> mean pseudocode?

0 Answers  


Why many objects can working together? How objects working togetherM I want to see example code.

2 Answers  


What is the fundamental idea of oop?

0 Answers  


can we create and enter the data & hide files using programmes ?

2 Answers   Wipro,


What is the main purpose of inheritance law?

0 Answers  


Categories