write a code for this. serial_number contained in the
header of the file will be read , if this serial number is
less than a previous serial number within a successfully
processed file, or is the same as another serial number
within a successfully processed file, or if the field
contains anything other than 7 digits, then the file must
error with the reason ‘Invalid SERIAL_NUMBER’.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

What is deep and shalow copy?

3 Answers   L&T, TCS,


I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?

3 Answers  


What is an interface in oop?

0 Answers  


What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile

4 Answers  


What is a macro? And how is a macro same as a template?

4 Answers  






What is a class oop?

0 Answers  


What is the main difference between C++ and Java

11 Answers   TCS,


What is a unary operator?

5 Answers  


pointers are support in C#? if yes then how to use it?

8 Answers   Softvision Solution,


What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined

7 Answers  


why to use template classes in c++?

1 Answers  


Is data hiding and abstraction same?

0 Answers  


Categories