Question 1: What is the output of the following snippet? #include <iostream> using namespace std; class A { friend class B; private: int field; public: int set(int x) { return field = ++x; } int get() { return ++field; } }; class B { public: void …
Read More »CPA – Programming Essentials in C++ Chapter 2 Module 1 Exam Answers
CPA – Programming Essentials in C++ Chapter 2 Module 1 Exam Answers Question 1: What is the output of the following snippet? #include <iostream> using namespace std; class A { public: float v; A() { v = 1.0; } A(A &a) { A::v = a.v; cout << …
Read More »CPA – Programming Essentials in C++ Summary Test Answers
CPA – Programming Essentials in C++ Summary Test Answers Question 1: What is the value of the i variable? float x = 1.0 / 5.0; int i=x; 1 0.20 5.0 0 Question 2: What is the output of the following snippet? #include <iostream> #include <string> using namespace std; int main() …
Read More »CPA – Programming Essentials in C++ Module 1 Exam Answers
CPA – Programming Essentials in C++ Module 1 Exam Answers Question 1: What is the output of the following snippet if a digit 8 followed by Enter is entered through the keyboard? #include <iostream> using namespace std; int main() { int i; cin >> i; cout << …
Read More »CPA – Programming Essentials in C++ Module 2 Exam Answers
CPA – Programming Essentials in C++ Module 2 Exam Answers Question 1: What is the output of the following snippet? #include <iostream> using namespace std; int main() { int i = 1, j = i++, k = –i; if(i > 0) { j++; k++; } …
Read More »CPA – Programming Essentials in C++ Module 3 Exam Answers
CPA – Programming Essentials in C++ Module 3 Exam Answers Question 1: What is the output of the following snippet? #include <iostream> using namespace std; struct S { float *f; }; void make(S *p, float x = 10) { float *f = new float; *f = sizeof(*f) …
Read More »CPA – Programming Essentials in C++ Module 4 Exam Answers
Question 1: What is the output of the following snippet? #include <iostream> using namespace std; int main() { int *it[3]; for(int i = 0; i < 3; i++) { it[i] = new int [i + 1]; for(int j = 0; j < i + 1; j++) …
Read More »Coursera and Meta Offers 7+ Career Certificate Programs for Free | Meta Scholarship Program
Coursera and Meta Offers 7+ Career Certificate Programs for Free | Meta Scholarship Program Learn in-demand skills and enhance your career potential through one of Meta’s Professional Career Certificate programs offered through IT Experience partnership with Meta Elevate. This is at no cost to you, the program is entirely free. …
Read More »Computer Fundamentals Professional Certificate | Microsoft Office Quiz – Free Quiz Certification
Computer Fundamentals Professional Certificate | Microsoft Office Quiz – Free Quiz Certification Check your skill by answering these Computer Fundamentals Quiz questions. This quiz will help you to check your knowledge and improve it further. List of the most asked real-world basic to advance level Computer Fundamentals Quiz interview questions …
Read More »ISRO Launched a Free Cyber Security Certification Course | Get a Free Certificate from ISRO
ISRO Launched a Free Cyber Security Certification Course | Get a Free Certificate from ISRO Hey everyone, ISRO has launched a new certification courses for october month on Cyber Security where everyone including students and professionals can apply. The training and education programmes at IIRS includes the short duration customized …
Read More »
Priya Dogra – Certification | Jobs | Internships