C++ Certification Exam | Free Online Certifications Exams

C++ Certification Exam | Free Online Certifications Exams

C++ is a general-purpose programming language. It was designed and implemented by Bjarne Stroustrup in 1979 at Bell Labs. It runs on a variety of platforms, such as Windows, MacOS, and the various versions of UNIX. C++ is

  • A superset of C
  • Supports data abstraction
  • Supports object-oriented programming
  • Supports generic programming.
    c++ certification exam

 

This certification program provides a comprehensive understanding of C++ which is very important in today’s day. The C++ has become an integral part of every company today and you wish to be a part of this competitive field

C++ Online Certification Exam will have the following process:

  • Exam will have 20 questions.
  • Limited time will be given of 20 minutes.
  • Unlimited Attempt
  • Passing marks will be 70%
  • Language : English
  • Pass the exam and get E-Certificate on your Email ID within 72 hours
  • Please input your correct and complete Name,Mobile Number & Email ID

All the Best !!

0%

C++ Online Certification Exam

Test your knowledge, and share this quiz with family, friends and colleagues.

 

 

1 / 20

Which of the following is a correct identifier in C++?

2 / 20

What happens if the following program is executed in C and C++?

#include <stdio.h> 
void func(void)
{
	printf("Hello");
}
void main() 
{ 
	func();
	func(2);
}

3 / 20

By default, all the files in C++ are opened in _________ mode.

4 / 20

Which of the following is used for comments in C++?

5 / 20

What will be the output of the following C++ program?

#include <iostream> 
#include <string>
#include <cstring>
using namespace std; 
int main(int argc, char const *argv[])
{
	const char *a = "Hello\0World";
	cout<<a;
	return 0;
}

6 / 20

What happens if the following C++ statement is compiled and executed?

int *ptr = NULL;
delete ptr;

7 / 20

What will be the output of the following C++ code?

#include <iostream> 
#include <string>
using namespace std; 
int main(int argc, char const *argv[])
{
	char s1[6] = "Hello";
	char s2[6] = "World";
	char s3[12] = s1 + " " + s2;
	cout<<s3;
	return 0;
}

8 / 20

What happens if the following program is executed in C and C++?

#include <stdio.h> 
int main(void) 
{ 
	int new = 5;
	printf("%d", new); 
}

9 / 20

Which is more effective while calling the C++ functions?

10 / 20

Which of the following approach is used by C++?

11 / 20

What is the difference between delete and delete[] in C++?

12 / 20

What is virtual inheritance in C++?

13 / 20

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;
}

14 / 20

Which of the following type is provided by C++ but not C?

15 / 20

Which of the following is the correct syntax of including a user defined header files in C++?

16 / 20

Which of the following correctly declares an array in C++?

17 / 20

Which of the following user-defined header file extension used in c++?

18 / 20

Which of the following is not a type of Constructor in C++?

19 / 20

Which of the following C++ code will give error on compilation?

================code 1=================
#include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
	cout<<"Hello World";
	return 0;
}
========================================
================code 2=================
#include <iostream>
int main(int argc, char const *argv[])
{
	std::cout<<"Hello World";
	return 0;
}
========================================

20 / 20

What is C++?

Other Certification Exams
Click Here
error: Content is protected !!
Scroll to Top