Home / Engineering / Programming for Problem Solving MCQs / Page 4
Programming for Problem Solving MCQs | Page - 4
Dear candidates you will find MCQ questions of Programming for Problem Solving here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
M
Q. 31) What is the following is invalid header file in C?
M
Q. 32) What is storage class for variable A in below code?
int main()
{
int A;
A = 10;
printf("%d", A);
return 0;
}
M
Q. 33) #include "stdio.h"
int main()
{
int a@ = 10;
printf("%d", a@);
return 0;
}
M
Q. 34) #include "stdio.h"
int main()
{
int a = 10;
printf("%d", a);
int a = 20;
printf("%d",a);
return 0;
}
M
Q. 35) #include "stdio.h"
int a = 20;
int main()
{
int a = 10;
printf("%d", ::a);
return 0;
}
M
Q. 36) #include "stdio.h"
int main()
{
int a = 10, b = 20;
if(a=b)
{
printf("Easy");
}
else
{
printf("Hard");
}
return 0;
}
M
Q. 37) Which gcc flag is used to enable all Compiler warnings?
M
Q. 38) Which gcc flag is used to generate maximum debug information?
M
Q. 39) Which macro is used to insert assembly code in C program (VC++ compiler)?
M
Q. 40) Which macro is used to insert assembly code in C program (GCC compiler)?
Explore Sets
Programming for Problem Solving MCQs Set 1
Programming for Problem Solving MCQs Set 2
Programming for Problem Solving MCQs Set 3
Programming for Problem Solving MCQs Set 4
Programming for Problem Solving MCQs Set 5
Programming for Problem Solving MCQs Set 6
Programming for Problem Solving MCQs Set 7
Programming for Problem Solving MCQs Set 8
Programming for Problem Solving MCQs Set 9
Explore More Categories
Click on category to learn MCQs of that category.Electronics and Communication Engineering