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. What will be output of
void main()
char test =`S`;

  • S
  • Error
  • Garbage value
  • None of above

2. Which is invalid name of identifier

  • world
  • addition23
  • test_name
  • factorial

3. Break statement is used for

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

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

5. What is the purpose of getc()

  • read a character from STDIN
  • read a character from a file
  • read all file
  • read file random
Read more from - C Programming Questions Answers - Chapter 1
Post a comment