1. Question:What is difference between declaration and definition? 

    Answer
    During declaration we just specify the type and no memory is allocated to the variable. But during the
     definition an initial value is assigned and memory is allocated to the variable.






    1. Report
  2. Question:What is function recursion? 

    Answer
    When a function of body calls the same function then it is called as 'recursive function.'
    Example:
    Recursion()
    {
        printf("Recursion !");
        Recursion();
    }






    1. Report
  3. Question:What is use of #pragma inline directive in c language? 

    Answer
    #pragma inline only tells the compiler that source code of program contain inline assembly language code .In c we can write assembly language program with help of asm keyword.






    1. Report
  4. Question:What is the meaning of multilevel pointers in c? 

    Answer
    A pointer is pointer to another pointer which can be pointer to others pointers and so on is known as multilevel pointers. We can have any level of pointers.






    1. Report
  5. Question:Difference between pass by reference and pass by value? 

    Answer
    Pass by reference passes a pointer to the value. This allows the callee to modify the variable directly.Pass by value gives a copy of the value to the callee. This allows the callee to modify the value without modifying the variable. (In other words, the callee simply cannot modify the variable, since it lacks a reference to it.)






    1. Report
Copyright © 2025. Powered by Intellect Software Ltd