Answer:
Answers explained with appropriate comments
Explanation:
1. seekp() //the seekp sets the position where the next character is to be //inserted into the output stream.
2. fstream //fstream is used for input and output for files
//just like iostream for input and output data
3. tellp(); //tellp returns the "put" or write position of the file.
4. ios::ate //ate meaning at the end, sets the file output at the file end
5. binary files //binary files only store 0s and 1s
6. seekg() //seekg is used to move write position of the file
7. put //this is used to "put" or set records or arrays to a single file
8. std::ws
, skips //the std::ws is used to discard leading whitespace from an //input stream
9. peek //this looks at the next character in the input sequence
10. get, peak //get and peek do not skip leading whitespace characters
Answer:
Devices such as a smart card-based USB token, the SIM card in your cell phone, the secure chip in your contactless payment card or an ePassport are digital security devices
This article describes like shows the formula syntax and usage of the AVERAGE<span> function in Microsoft Excel</span>
Answer:
Option A is the correct answer for the above question.
Explanation:
The Index Out Of Range exception is a type of Run exception which is generated on run time. It means when any user executes the software or program, then that program gives some error on the execution time by some coding problem or some value problem.
So this type of exception can be handle by the Catch block which is also stated by the option A. Hence A is the correct answer but the other is not because:-
- Option B states that this exception is generated by the catch block which is not correct.
- Option C states that the catch block passes the exception which is also not the correct.
- Option D states that the exception is passed for the operating system, but it is passed to the catch block only.