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 basic concept of oop?

0 Answers  


Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3

3 Answers   Accenture, Cognizant, IBM,


What is difference between abstraction and encapsulation?

0 Answers  


What is friend function?

12 Answers   Wipro,


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

1 Answers  


what is runtime polymorphism? For the 5 marks.

3 Answers  


what are the disadvantages of C++?

25 Answers   ATS, Infosys, UNI, Wipro,


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  


explain dynamic binding by drowing

2 Answers   Cognizant,


Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.

13 Answers   IBM,


Where You Can Use Interface in your Project

0 Answers   KPIT,


difference between overloading and overridding

11 Answers  


Categories