A
Here, you will find a collection of MCQ questions on C Programming. Go through these questions to enhance your preparation for upcoming examinations and interviews.
To check the correct answer, simply click the View Answer button provided for each question.
Have your own questions to contribute? Click the button below to share your MCQs with others!
+ Add QuestionA
A
int main()
{
printf("Hello Boss.");
}
A
int main()
{
auto int a=10;
{
auto int a = 15;
printf("%d ", a);
}
printf("%d ", a);
return 1;
}
A
int main()
{
register a=10;
{
register a = 15;
printf("%d ", a);
}
printf("%d ", a);
return 20;
}
A
register int b;
prinf("%d", b);
A
int main()
{
register a=80;
auto int b;
b=a;
printf("%d ", a);
printf("%d ", b);
return -1;
}
A
void myshow();
int main()
{
myshow();
myshow();
myshow();
}
void myshow()
{
static int k = 20;
printf("%d ", k);
k++;
}
A
static int k;
int main()
{
printf("%d", k);
return 90;
}
A
A
If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.
Share Your MCQ