whats the use of seekp() and seekg()? ,Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++, HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher
whats the use of seekp() and seekg()?

they are using bassicaly move the I/O in speciafic positions :
> Seekp () is used to move output/put pointer to a specified position.
> seekg () is used to move input/get pointer to specified position.

More interview questions and answers

What�s the best way to declare and define global variables?

What does extern mean in a function declaration?

How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

Declare a void pointer.

What is 'this' pointer?

What is the mean of Manglic in C++?

What are the access privileges in C++?

Explain the scope resolution operator?

What is a modifier?

wat do you mean by accessor?

give me a diff b/e Template class and class Template?

What are the types of container classes?

When does a name clash occur?

What is an iterator class?

Define namespace.

What are proxy objects?

What is a node class?

What is stack unwinding?

What is class invariant?

Differentiate between the message and method.

What is a dangling pointer?

What is an incomplete type?

What is an Iterator class?

What is a nested class? Why can it be useful?

What is multiple inheritance(virtual inheritance)? What are its advantages and disadvantages?

Whit is the mean of precondition and post-condition to a member function.

What is inline function??

What is the use of class wizard?

What is the use of Microsoft foundation class library?

What is an orthogonal base class?

How can you catch all the exceptions without specifying individually?

What is the use of try block?

Give the name some pure object oriented languages.

What is mean of translation?

Write the different forms of throw?

What is the use of application wizard?

What are the basic segments of error handling code?

Give an example for asynchronous exceptions?

What is the use of export?

What is overflow error?

What is Memory alignment??

Define the generic programming?

Define the generic programming?

Define the parameterized macros?

What is function overloading and operator overloading?

What are the functions used to handle single character at a time?

What is the use of tellp ()?

What is the use of tellg ()?

whats the use of seekp() and seekg()?

What is the use of file pointers?

What are the types of file pointers?and whats the uses of the file pointers?

What are the types of file pointers?nad whats the use?

What does the file mode parameter ios::binary mean?

What is the difference between ios::ate and ios::app mode?

In which class is the function eof () present?

Give examples for synchronous exceptions?

What are storage qualifiers in C++ ?

What is EOF?

What are manipulators?

What is a file?

What is the use of exception handling?

What is the use of using?

What is the use of template classes and functions?

What are the ways of opening a file?

What are the parts of a file name?

What is the limitation of �cin�?

What are stream classes?

What is a stream? and define the types of Stream?

What is callback function?

What are �do-nothing� functions?

What are abstract base classes?

What are C-strings or C-style strings?

What is run time polymorphism?

What are pointer constants?

What are pointer variables?

What is overriding?

What is containership?

How to reverse a string using a recursive function, with swapping?

How are prefix and postfix versions of operator++() differentiated?

I want to have a program to read a string and print the frequency of each character and it should work in turbo c

Write a function for strtok()?

What is �*� operator called as?

give me a any two main roles of Operating System?

What is the difference between char *a and char a[]?

Give us List out some of the OODBMS available?

What is the difference b/w const char *myPointer and char *const myPointer?

What is copy constructor?

When are copy constructors called?

What is a memory leak?

What is conversion constructor?

What is conversion operator??

What is the type of conversion operator?

What is difference b/w huge & far & near pointer?

What are the access privileges in C++? What is the default access level?

What does extern "C" int func(int *, Foo) accomplish?

What happens when we make call "delete this;" ??

What is the difference between system call and library function?

What are C++ storage classes?

Whar is the Auto storage class in C ?

What is the Auto Storage Class?

R4R provides free online tutolrails ,examples for Freshers and experts .We cover core java, tutorials, spring, Hibernate, python, struts, struts 2,c language, spring boot,PHP,MYSQL,C#,ASP.NET,WPF,WCF,Photoshop , JSP, programming, example, Interview questions and answer