Close
Login to Your Account
Faadooengineers




Results 1 to 1 of 1

Thread: C Language Interview Questions and Answers

  1. #1
    Sr. FaaDoO Engineer devsuroor's Avatar
    Join Date
    May 2012
    Posts
    84

    Gender: : Male

    Branch: : Information Technology Engineering

    City : Delhi

    Send Private Message
    Send Friend Request

    Rar 32 C Language Interview Questions and Answers

    1.What is a pointer?
    Ans: Pointers are variables which stores the address of another variable. That variable may be a scalar (including another pointer), or an aggregate (array or structure). The pointed-to object may be part of a larger object, such as a field of a structure or an element in an array.
    3. What are the uses of a pointer?
    Ans: Pointer is used in the following cases
    i) It is used to access array elements
    ii) It is used for dynamic memory allocation.
    iii) It is used in Call by reference
    iv) It is used in data structures like trees, graph, linked list etc.
    4. What is a structure?
    Ans: Structure constitutes a super data type which represents several different data types in a single unit. A structure can be initialized if it is static or global.
    5. What is a union?
    Ans: Union is a collection of heterogeneous data type but it uses efficient memory utilization technique by allocating enough memory to hold the largest member. Here a single area of memory contains values of different types at different time. A union can never be initialized.



    Download Attachement.....................

    Attached Files for Direct Download
      File Name:
      File Size:
      13.5 KB
      File Name:
      File Size:
      15.5 KB
    * Click on the 'file icon' or 'file name' to start downloading
    Last edited by ajaytopgun; 11th April 2014 at 02:10 PM.

Tags for this Thread