download Mastguru Android App

Question Detail

total number of keywords in C are

  • 30
  • 32
  • 48
  • 132
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. 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

3. Can getch() be used to echo the input

  • Yes
  • No

4. What is true about fputs function

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

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