Question Detail

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

1. Any type of modification on the parameter inside the function will reflect in actual variable value can be related to

  • call by value
  • call by reference
  • both of above
  • none of above

2. Out of following program :
float x = 10.7;
int i;

i = (int) x;
print i;

  • null
  • error
  • 10
  • garbage value

3. The first expression in a for loop is

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

4. What is true about fputs function

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

5. Which operator has the highest priority

  • ()
  • []
  • *
  • /
Read more from - C Programming Questions Answers - Chapter 1