download Mastguru Android App

Question Detail

What is true about fputs function

  • write to a file
  • takes two parameters
  • requires a file pointer
  • all of above
Similar Questions :

1. What is wild pointer in c

  • a pointer which we need to write in future
  • a pointer which has bad naming convention
  • a pointer which has no limit
  • a point which has not initialized

2. What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf(\"%d\",x);
}

  • error
  • 0
  • 10
  • Garbage value

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

4. We can insert pre written code in a C program by using

  • #read
  • #get
  • #include
  • #put

5. If (*p) and **p is same

  • No
  • Yes
Read more from - C Programming Questions Answers - Chapter 1
Post a comment