1. Question:Differentiate between a linker and linkage? 

    Answer
    A linker converts an object code into an executable code by linking together the necessary build in functions. The form and place of declaration where the variable is declared in a program determine the
    linkage of variable.






    1. Report
  2. Question:Define Operator, Operand, and Expression in 'C'? 

    Answer
    Operators are symbols which take one or more operands or expressions and perform arithmetic or logical computations.
    Operands are variables or expressions which are used in operators to evaluate the expression.
    Combination of operands and operators form an expression.






    1. Report
  3. 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
  4. 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
  5. Question:What are enumerations? 

    Answer
    They are a list of named integer-valued constants. Example:enum color { black , orange=4,yellow, green, blue, violet };This declaration defines the symbols “black”, “orange”, “yellow”, etc. to have the values “1,” “4,” “5,” … etc. The difference between an enumeration and a macro is that the enum actually declares a type, and therefore can be type checked.






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