Function MCQs

223 questionsC-ProgramPage 18 of 25

Practice free Function multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 223 questions — no login required.

Question 154easy
The C-preprocessors are specified with . . . . . . . . symbol.
Question 155easy
Automatic variables are stored in . . . . . . . .
Question 156easy
Register variables reside in . . . . . . . .
Advertisement
Question 157easy
For each #if, #ifdef, and #ifndef directive.
Question 158easy
Automatic variables are . . . . . . . .
Question 159easy
Comment on the output of the following C code.
#include <stdio.h>
#include "test.h"
#include "test.h"
int main()
{
    //some code
}
Advertisement
Question 160easy
Property of the external variable to be accessed by any source file is called by the C90 standard as . . . . . . . .
Question 161easy
What will be the output of the following C code?
#include <stdio.h>
int *m();
void main()
{
    int *k = m();
    printf("hello ");
    printf("%d", k[0]);
}
int *m()
{
    int a[2] = {5, 8};
    return a;
}
Question 162easy
What is #include directive?