download Mastguru Android App

Question Detail

Continue statement used for

  • To continue to the next line of code
  • To stop the current iteration and begin the next iteration from the beginning
  • To handle run time error
  • None of above
Similar Questions :

1. Difference between calloc() and malloc()

  • calloc() takes a single argument while malloc() needs two arguments
  • malloc() takes a single argument while calloc() needs two arguments
  • malloc() initializes the allocated memory to ZERO
  • calloc() initializes the allocated memory to NULL

2. Break statement is used for

  • Quit a program
  • Quit the current iteration
  • Both of above
  • None of above

3. Which of the following below is/are valid C keywords

  • integer
  • int
  • null
  • none of above

4. Wild pointer in C

  • if pointer is pointing to a memory location from where variable has been deleted
  • if pointer has not been initialized
  • if pointer has not defined properly
  • if pointer pointing to more than one variable

5. Disadvantage of array in C is

  • We can easily access each element
  • It is necessary to declare too many variables
  • It can store only one similar type of data
  • None of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment

  • ramtejakongari 9 years ago

    continue means stopping the current inst and goes to next one?
    if any one have clear in this issue plz show me the right direction?
    ////??

    mastguru 9 years ago replied

    say you have a loop running 10 times and you want when its 5th time you do not want to implement some logic then you can write "continue", it will skip when i==5, and will again run for i==6 But in case you want to stop and execute next then you will use "break" instead of Continue. Hope it helps