Interview Questions And Answers

Q: - What are the stream files?

We can open file in C with using stream files.which are identified with a pointer to a FILE structure, or as low-level files, which are identified with an integer handle.

We can open stream files with using one of the following functions.

fopen(): Opens the specified file with the specified mode
freopen(): Closes the file specified, then opens a new file as specified
fdopen(): Opens a duplicate stream file for an already open low-level file

Submitted By:-Deepak             Email-ID: - deepakrana336@gmail.com

Q: - How the processor registers can be used in C?

using keyword register we can use the process register in C.Basically process register is used to store variables those i want to access frequently.if these registers are not used in any other program,then those registers we used to allocate memory these variables.

Submitted By:-Deepak            Email-ID: - deepakrana336@gmail.com

Q: - How to access or modify the constt variable in C ?

We can not modify the constant variable.

Submitted By:- Deepak            Email-ID: - deepakrana336@gmail.com