Tag: Question
-
C++ Programming Quizs Question and Answers – Booleans
C++ language interview questions and answers focuses on “Booleans”. One shall practice these interview questions to improve their C++ programming skills needed for various interviews competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C++…
-
Current Affairs Quiz – April, 2024
Q 1. Bindyarani Devi, who was recently in news, belongs to which sports? A. Weight liftingB. SwimmingC. BoxingD. Hockey Show Answer Answer:-A. Weight lifting Explanation Bindyarani Devi, Birmingham Commonwealth Games 2022 silver medalist, secured a bronze at the IWF World Cup 2024 in Phuket, Thailand, lifting 196 kg in the women’s 55 kg category. Conversely,…
-
C++ Programming Questions and Answers – Integer Types
C++ interview questions and answers focuses on “Integer Types”. One shall practice these interview questions to improve their C++ programming skills needed for various interviews. These questions can be attempted by anyone focusing on learning C++ programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C++ interview questions…
-
C++ Programming Questions and Answers – Static Constant Keyword
Q 1. What will be the output of the following C++ code? #include <iostream> using namespace std; class Test { static int x; public: Test() { x++; } static int getX() {return x;} }; int Test::x = 0; int main() { cout << Test::getX() << ” “; Test t[5]; cout << Test::getX(); } A. 0…
-
C++ Programming Questions and Answers – C++ Concepts – 3
Q 1. Which of the following statement is correct?A. Structure in C allows Constructor definitionB. Both allow Constructor definition C. Structure in C++ allows Constructor definitionD. C allows constructor definition while C++ does not Show Answer Answer:-C. Structure in C++ allows Constructor definition Explanation As C does not allow the programmer to define a function…
-
C++ Programming Questions and Answers – C++ Concepts – 1
Q 1. In which part of the for loop termination condition is checked?for(I;II;III){IV}A. IB. IIC. IIID. IV Show Answer Answer:-B. II Explanation In II part the termination condition of the for loop is checked. Q 2. What is dynamic binding?A. The process of linking the actual code with a procedural call during compile -timeB. The…
-
C++ Programming Quizs Question and Answers – OOPs – 4
Q 1. What will be the output of the following C++ code? #include <iostream> using namespace std; class A{ public: A(){ cout<<“Constructor called\n“; } ~A(){ cout<<“Destructor called\n“; } }; int main(int argc, char const *argv[]) { A *a = new A[5]; delete[] a; return 0; } A. “Constructor called” five times and then “Destructor called”…
-
GK Questions and Answers on Freedom Fighters of India
Q 1. Who founded the “All India Women’s Conference” to work for women’s rights? Show Answer Answer:-Annie Besant Q 2. Which freedom fighter is associated with the Khilafat Movement? Show Answer Answer:-Maulana Abul Kalam Azad Q 3. Who was known as the “Frontier Gandhi” for his work in the North-West Frontier Province (now Khyber Pakhtunkhwa)?…
-
Top 50 Gk Question with Answers on U.S Armed Forces
Q 1. The United States Armed Forces consists of how many branches? Show Answer Answer:-6 service branches. Q 2. What is the name of the United States Armed Forces branches? Show Answer Answer:-Army, Navy, Marine Corps, Air Force, Coast Guard, and Space Force. Q 3. Which branch of the US Armed Forces conducts land operations?…
-
GK Quizs Question on U.S. Army
Q 1. Which branch of the US military is in charge of conducting operations at sea and underwater? A. Army B. Air Force C. Marine Corps D. Navy Show Answer Answer:-D. Navy Q 2. What is the U.S. Coast Guard’s main purpose? A. Air and Space Defense B. Border Security C. Maritime Law Enforcement D.…