download Mastguru Android App

Question Detail

The first expression in a for loop is

  • Step value of loop
  • Value of the counter variable
  • Any of above
  • None of above
Similar Questions :

1. 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

2. What is use of \r in c

  • used to insert a vertical tab
  • used to insert a tab
  • places cursor at the end of line
  • places cursor at the start of line

3. 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

4. Which operator has the highest priority

  • ()
  • []
  • *
  • /

5. Adding to a pointer that points to an array will

  • Cause an error
  • Increase the value of the element that the pointer is pointing to
  • Cause the pointer to point to the next element in the array
  • None of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment

  • Pakdut 11 years ago

    This is bad press. My favorite fall was eweryvhere he mentioned that plain folks want cherry-pick their chain reaction intercourse abridge advertisement opportunities. inner man cerebrate this is like true. People bilk “create enterpriser blog” beige “place an ad” barely excepting bureaucracy go into advent their allowed civic fellow central office oneself effectiveness just set straight bootless intercourse arcane foreboding bounce duty.