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
A
A
A
#include <stdio.h>
int main()
{
short int k = 23;
char ch = 99;
printf("%d, %d, %d
", sizeof(k), sizeof(ch), sizeof(ch + k));
return 0;
}
A
A
#include <stdio.h>
int main()
{
int n = 25;
char ch = -25;
if (n < ch)
{
printf("Yes
");
}
else
{
printf("No
");
}
}
A
#include <stdio.h>
int main()
{
unsigned int n = 25;
signed char ch = -25;
if (n > ch)
{
printf("Yes
");
}
else if (n < ch)
{
printf("No
");
}
}
A
A
#include <stdio.h>
void main()
{
int n = 98;
char m = n;
printf("%c
", m);
}
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