C++ Program to exchange the positions of strings stored in array using array of pointers.

C++ Program to exchange the positions of strings stored in array using array of pointers. #include <iostream> #include <string.h> using namespace std; int main() { char* names[] = { “Yugal”, “Kamal”, “Pankaj”, “Vinay”, “Anil” }; int len = 0; len = strlen(names[1]); //length of string no 2 cout<<“\nOrginally string 2 is “; cout.write(names[1],len).put(‘\n’); cout<<“and string 4 is “; … Read more

Write a function in C++ to find and display the sum of each row and each column of a 2-dimensional array of type float. Use the array and its size as parameters with float as its return type.

Write a function in C++ to find and display the sum of each row and each column of a 2-dimensional (2D) array of type float. Use the array and its size as parameters with float as its return type. // assuming that maximum rows and cols are 10, 10 respectively void RowColSum( float A[10][10], int r, int … Read more

Debugging in Hindi – डिबगिंग क्या है?

हेल्लो दोस्तों! आज हम इस पोस्ट में Debugging in Hindi (डिबगिंग क्या है?) के बारें में पढेंगे और इसकी प्रक्रिया को भी देखेंगे. इसे आप पूरा पढ़िए, आपको यह आसानी से समझ में आ जायेगा. तो चलिए शुरू करते हैं:-  Debugging in Hindi Debugging एक प्रक्रिया है जिसके द्वारा software code में से errors और bugs को … Read more

Data Abstraction in C++ in Hindi – with example

हेल्लो दोस्तों! आज हम इस पोस्ट में Data Abstraction in C++ in Hindi (डाटा एब्सट्रैकशन क्या है?) के बारें में बहुत ही आसान भाषा में पढेंगे और इसके example को भी देखेंगे. इसे आप पूरा पढ़िए, आपको यह आसानी से समझ में आ जायेगा. तो चलिए शुरू करते हैं. Data Abstraction in C++ in Hindi C++ में, Data … Read more

File Handling in C++ in Hindi – C++ में फाइल हैंडलिंग क्या है?

Hello दोस्तों! आज हम इस आर्टिकल में File Handling in C++ in Hindi (C++ में फाइल हैंडलिंग क्या है?) के बारें में पढेंगे और इसके operations को भी देखेंगे. इसे आप पूरा पढ़िए, यह आपको आसानी से समझ आ जायेगा. तो चलिए शुरू करते हैं: File Handling in C++ in Hindi Files को storage device में हमेशा के … Read more

Virtual Destructor in C++ in Hindi – वर्चुअल डिस्ट्रक्टर क्या है?

Hello दोस्तों! आज हम इस पोस्ट में Virtual Destructor in C++ in Hindi (वर्चुअल डिस्ट्रक्टर क्या है?) के बारें में पढेंगे और इसके examples को भी देखेंगे. आप इसे पूरा पढ़िए. आपको यह आसानी से समझ आ जायेगा. तो चलिए start करते हैं:- Virtual Destructor in C++ in Hindi C++ में, Virtual destructor का प्रयोग derived class … Read more

Constructor Overloading in C++ in Hindi – कंस्ट्रक्टर ओवरलोडिंग क्या है?

हेल्लो दोस्तों! आज हम इस पोस्ट में Constructor Overloading in C++ in Hindi (सी.प्लस.प्लस में कंस्ट्रक्टर ओवरलोडिंग क्या है?) के बारें में पूरे विस्तार से पढेंगे. इसे मैंने बहुत ही आसान भाषा में लिखा है. आप इसे पूरा पढ़िए आपको यह आसानी से समझ में आ जायेगा. तो चलिए start करते हैं:- Constructor Overloading in C++ in Hindi … Read more

Virtual Function in C++ in Hindi – वर्चुअल फंक्शन क्या है?

Hello दोस्तों! आज हम इस पोस्ट में Virtual Function in C++ in Hindi (वर्चुअल फंक्शन क्या है?) के बारें में पढेंगे और इसके examples को भी देखेंगे. इसे आप पूरा पढ़िए, आपको यह आसानी से समझ में आ जायेगा. तो चलिए start करते हैं:- Virtual Function in C++ in Hindi C++ में, Virtual function एक member function होता है … Read more

Function Overloading in C++ in Hindi – फंक्शन ओवरलोडिंग क्या है?

Hello दोस्तों! आज हम इस पोस्ट में Function Overloading in C++ in Hindi (C++ में फंक्शन ओवरलोडिंग क्या है?) के बारें में पढेंगे और इसके examples को भी देखेंगे. इसे मैंने बहुत ही आसान भाषा में लिखा है. आप इसे पूरा पढ़िए, आपको यह आसानी से समझ में आ जायेगा. तो चलिए शुरू करते हैं:- Function Overloading … Read more

Operator Overloading in C++ in Hindi – ऑपरेटर ओवरलोडिंग क्या है?

हेल्लो दोस्तों! आज हम इस पोस्ट में Operator Overloading in C++ in Hindi (ऑपरेटर ओवरलोडिंग क्या है?) के बारें में पढेंगे और इसके rules और examples को भी सीखेंगे. मैंने इसे बहुत ही आसान भाषा में लिखा है. आप इसे पूरा पढ़िए आपको यह आसानी से समझ में आ जायेगा. तो चलिए start करते हैं:- Operator Overloading in … Read more