Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Sunday, March 22, 2015

What is an array ?

  • An array is the collection of similar data type which is used to store the information in a random way.
  •  An array is a derived data type i.e. it is derived from the inbuilt data type.
  • The size of the array is fixed i.e. the size of an array is static that can not be changed at the time of execution. The size of an array is defined at the time of compilation and it should be an positive integer value.

Wednesday, March 18, 2015

What is rewind() function?



  • It is used to sets the position to the beginning of the file.
  • It takes a file pointer and resets the position to the start of the file.
  • Whenever a file is opened for reading and writing, a rewind is done implicitly.

What is ftell() function?



  • It is used to gives the current position in the file (in terms of bytes from the start).
  • ftell() takes a file pointer and return a number of type long, that corresponds to the current position.