ExamVeda
Login
Home
21
What are the actual parameters in C++?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
22
What will be the output of the following C++ code?
#include<stdio.h>
int main(int argc, char const *argv[])
{
	char a = 'a';
	printf("%d\n", (int)sizeof(a));
	return 0;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
23
Which of the following is used to make an abstract class?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
24
Which of the following supports the concept that reusability is a desirable feature of a language?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
25
What will be the output of the following C++ code?
#include<iostream>
using namespace std;
int main ()
{
   int cin;
   cin >> cin;
   cout << "cin: " << cin;
   return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
26
What happens if the following line is executed in C and C++?
int *p = malloc(10);
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
27
Which of the following is C++ equivalent for printf()?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
28
Which of the following is correct?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
29
Which of the following statement is true?
I. In Procedural programming languages, all function calls are resolved at compile-time
II. In Object Oriented programming languages, all function calls are resolved at compile-time
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
30
Which of the following is correct about dynamic polymorphism?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board