C Miscellaneous MCQs

70 questionsC-ProgramPage 8 of 8

Practice free C Miscellaneous 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 70 questions — no login required.

Question 64hard
What will be the output of the following C code?
#include<stdio.h>
extern inline int min(int a, int b) 
{
  return a < b ? a : b;
}
main()
{
    int m;
    m=min(3,-5);
    printf("%d",m);
}
Question 65hard
What will be the output of the following C code?
#include<stdio.h>
int main()
{
    signed char ch= ‘a’;
    printf(“%u”,ch);
    return 0;
}
Question 66hard
What will be the output of the following C code?
#include <stdio.h>
void inline func1(char b[10]) 
{
    printf ("%c\n",b[2]);
}
int main() 
{
     func1("examveda");
     return 0;
}
Advertisement
Question 67medium
Which of the following declaration is not supported by C language?
Question 68hard
What will be the output of the following C code?
#include<stdio.h>
int main()
{
    int n=10;
    int f(int n);
    printf("%d",f(n));
}
int f(int n)
{
    if(n>0)
        return(n+f(n-2));
}
Question 69medium
Iteration requires more system memory than recursion.
Advertisement
Question 70medium
What will be the output of the following C code?
#include<stdio.h>
int main()
{
    printf("Hello");
    main();
    return 0;
}