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. What will be output of
#include
void main()
{
char test =`S`;
printf("\n%c",test);
}

  • S
  • Error
  • Garbage value
  • None of above

3. Exit() is same as return

  • TRUE
  • FALSE

4. Difference between structure and union is

  • We can define functions within structures but not within a union
  • We can define functions within union but not within a structure
  • The way memory is allocated
  • There is no difference

5. Which operator in c can't be overloaded

  • %
  • +
  • ::
  • -
Read more from - C Programming Questions Answers - Chapter 1
Post a comment

  • ramtejakongari 10 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 10 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