can u tell why cant we go backwards in c++ even if we use seekp() and tellp() but where has we can go backwards in turbo c++ | Sololearn: Learn to code for FREE!

0

can u tell why cant we go backwards in c++ even if we use seekp() and tellp() but where has we can go backwards in turbo c++

7/25/2017 2:00:58 PM

yashas.s

7 Answers

New Answer

+9

Of course you can iterate an array forth and backwards.

+8

http://www.cplusplus.com/reference/ostream/ostream/seekp/ What are you trying to imply by 'go backwards'?

+8

'Go backwards' in the sense of? Program execution? Program output?

+7

well thats not right. not at all. can go either way or at random..

+5

backwards from where?

0

from example an array yashas u cannot go from s-y but we can go from y--s

-2

means u can't go backwards in c++ correct/wrong