download Mastguru Android App

Question Detail

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
Similar Questions :

1. Size of void pointer is

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte

2. What will be output of
#include
void main()
{
char test =`S`;
printf("\n%c",test);
}

  • S
  • Error
  • Garbage value
  • None of above

3. calloc() belongs to which library

  • stdlib.h
  • malloc.h
  • calloc.h
  • None of above

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

5. What is dangling pointer in c

  • if pointer is pointing to a memory location from where variable has been deleted
  • if pointer is assigned to more than one variable
  • if pointer is not defined properly
  • none of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment