McqOption logo McqOption logo

MCQOPTIONS

Saved Bookmarks
  • → Engineering
  • → C Programming in Engineering
  • →

    1.

    1 : typedef long a;
    extern int a c;
    2 : typedef long a;
    extern a int c;
    3 : typedef long a;
    extern a c;

    A. 1 correct
    B. 2 correct
    C. 3 correct
    D. 1, 2, 3 are correct
    Answer» D. 1, 2, 3 are correct


    Discussion

    No Comment Found

    Related MCQs

    • <p>Which bitwise operator is suitable for turning on a particular bit in a number?</p>
    • <p>In which numbering system can the binary number <i class="C-code">1011011111000101</i> be easily converted to?</p>
    • <p>Which bitwise operator is suitable for turning off a particular bit in a number?</p>
    • <p>Which bitwise operator is suitable for checking whether a particular bit is on or off?</p>
    • <p>What is the purpose of <i class="C-code">"rb"</i> in <i class="C-code">fopen()</i> function used below in the code? </p><pre><code class="cpp">FILE *fp; fp = fopen("source.txt", "rb"); </code></pre>
    • <p>Out of <i class="C-code">fgets()</i> and <i class="C-code">gets()</i> which function is safe to use?</p>
    • <p>Consider the following program and what will be content of <i class="C-code">t</i>? </p><pre><code class="cpp">#include&lt;stdio.h&gt; int main() { FILE *fp; int t; fp = fopen("DUMMY.C", "w"); t = fileno(fp); printf("%d n", t); return 0; } </code></pre>
    • <p>Which of the following function is more appropriate for reading in a multi-word string?</p>
    • <p>The operator used to get value at address stored in a pointer variable is</p>
    • <p>What would be the equivalent pointer expression for referring the array element <i class="C-code">a[i][j][k][l]</i></p>
    Related Topics
    C Programming in Engineering
    C# Programming in Engineering
    C++ Programming in Engineering
    Chemical Engineering in Engineering
    Civil Engineering in Engineering
    Computer Science in Engineering
    Database in Engineering
    Digital Electronics in Engineering
    Electrical Engineering in Engineering
    Electronic Devices in Engineering
    Recent Visits

    Reply to Comment

    © Copyright 2025 McqOptions. All rights reserved.

    • Terms & Conditions
    • Privacy Policy
    • Disclaimer

    Support: admin@mcqoptions.com