Advertisements

Search results for float

Example:[1]

            Array is a collection of variables of

          
Option A:

            same data type
            
Option B:

            any data type
            
Option C:

            int and float data type
            
Option D:

            int and double data type
            
Correct Answer: option A
Example:[2]

            What is a pointer in C?
          
Option A:

            Pointers in C language is a variable that stores/points the address of another variable.
            
Option B:

            A Pointer in C is used to allocate memory dynamically i.e. at run time.
            
Option C:

            The pointer variable might be belonging to any of the data type such as int, float, char, double, short etc.
            
Option D:

            All of the above.
            
Correct Answer: option D
Example:[3]

            In linked list each node contains minimum of two fields. The first field is to store the data and the second field is which of the following?
          
Option A:

            Pointer to character
            
Option B:

            Pointer to integer
            
Option C:

            Pointer to node structure
            
Option D:

            Pointer to float
            
Correct Answer: option C

 Search Links


 Popular C search MCQs


 Popular C search examples