Principles of Programming Languages MCQs | Page - 1
Dear candidates you will find MCQ questions of Principles of Programming Languages 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.
Q. The default parameter passing method used in C++ is ____________.
β
Correct Answer: (B)
call by value
Q. The difference between memory and storage is that memory is __________________ and storage is __________.
β
Correct Answer: (A)
temporary, permanent
Q. What is relationship between reliability and failure?
β
Correct Answer: (B)
inverse relation
Q. Language efficiency can be achieved by ___________.
β
Correct Answer: (D)
all of these
Q. What is the output of the following code?
Int main(void)
{
char name = 'P';
'P' = 10;
return 0;
}
β
Correct Answer: (C)
syntax error
Q. Which of the following represents correct syntax for function declaration?
β
Correct Answer: (A)
int sum(int,int);
Jump to