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 are the realtime excercises in C++?

0 Answers   IBM, Wipro,


There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

3 Answers   Microsoft,


What is the example of polymorphism?

0 Answers  


What does the keyword "static" mean?

4 Answers   TCS,


What do you mean by stack program? Get me an example stack program?

4 Answers  






wht is ditch

0 Answers  


what i oops concept, how many languages supports oops concept?

3 Answers   Value Labs,


What is difference between #define and const?

3 Answers   emc2,


Can a varargs method be overloaded?

0 Answers  


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

0 Answers  


Program to check whether a word is the first word of the sentence.

1 Answers  


Does c++ support multilevel and multiple inheritance?

9 Answers   IBS, Wipro,


Categories