Question Detail

Structures can be used

  • to hold different datatypes
  • have pointers to structures
  • to assign to one another
  • all of above
Similar Questions :

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

2. Structures can be used

  • to hold different datatypes
  • have pointers to structures
  • to assign to one another
  • all of above

3. What is correct order of precedence in C

  • Addition, Division, Modulus
  • Addition, Modulus, Division
  • Multiplication, Substration, Modulus
  • Modulus, Multiplication, Substration

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

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

5. 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
Read more from - C Programming Questions Answers - Chapter 1