Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more video content just for you ✌
@unknownvulture61894 жыл бұрын
Super na......tmrow test mass pannirlam.......very thanks😊😊😊😊😊😊
@SimpleSnippets4 жыл бұрын
All the best for your exams. 👍
@swarupamurala47544 жыл бұрын
Can u do videos on Standard Template Library (STL) in c++?
@anavchug21403 жыл бұрын
I was watching your Data Structures and Algorithms playlist and came here to revise some concepts that I forgot. Honestly, the way you explain things is far better than any other teacher. I especially like the notes you provide and the explanations you give using Computer Memory. Thank you so much for this, and all the best for your future endeavors bro!!
@nathanbruce19927 жыл бұрын
Clear and concise. Thanks! How fast you type is soothing
@SimpleSnippets7 жыл бұрын
+Nathan Bruce hello, thank you so much for such ha positive response. This really means a lot to me. 😇 Do share the video with your friends and contacts ✌
@sudheermenda92834 жыл бұрын
Seeing your lectures with 1.25X speed gives me wings
@SimpleSnippets4 жыл бұрын
😂😅😇🙏
@SaloniBhingardive4 ай бұрын
My exam's tomorrow and your videos are helping me a great deal! THANK YOU! 😇
@bruh-dk9ql3 жыл бұрын
online classes fucked me up so here we are now. great video, you're saving my grades!
@kaushiksen2190 Жыл бұрын
The concept is so clear now. Thank you so much.
@felixw80046 жыл бұрын
This helped me understanding how function overloading works. Thank you Snippets.
@SimpleSnippets6 жыл бұрын
Hey buddy I'm so glad to hear this from you. Do share this video with your friends and contacts and help others too by sharing the knowledge 😇✌️
@felixw80046 жыл бұрын
Simple Snippets Im the only person here in my enviroment, who's interrested in learning C++ or other languages. I have a dream to become a programmer and I will achive this goal. I will give a shoutout to you, if it's time :D
@SimpleSnippets6 жыл бұрын
Hello buddy thank you so much buddy. I'm really glad to hear that you are so determined to learn C++. Keep up the spirit and support and I'm sure you'll achieve your goals 😇✌️
@felixw80046 жыл бұрын
Simple Snippets Thank you man. Youre great at motivating me.
@prateekkachhap88915 жыл бұрын
Simply love the way you teach. ... I guess its because you make it that simple 😊😊
@SimpleSnippets5 жыл бұрын
Thanks bro 🤟 glad to know you liked this video and yes the idea is to make it as easy as possible 😁 I would request you to please share the video with your friends too bro 🤟
@sabafatima19533 жыл бұрын
It was so easy to understand. Best video,came crossed ✌🏻
@poornachandra.s2 жыл бұрын
Best video I watched so far related to function overloading!!
@madhusudhan1922 жыл бұрын
Real happy' broo After listening to your video I just feel like i can write my exam right now
@rupalijain26254 жыл бұрын
Really in very easy way you teach .Keep going. All the best.
@SimpleSnippets4 жыл бұрын
Thank you, I will Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@nikhilsingh88854 жыл бұрын
Thankyou for the video bro what a great explaination in such a simple manner.
@SimpleSnippets4 жыл бұрын
Thank you so much buddy, Please do share the channel with your friends too. Thats the biggest help and support 🙂
@deepaksfactz5 жыл бұрын
You have to put semicolen in 14th line return(a+b);
@GRAPHIXGENIE3 жыл бұрын
To develop a calculator for the basic arithmetic operators (+, -, *, /, %), where we have to deal with at least 11 digit numbers and the numbers can be of with decimal point or without decimal point. SO in the above case we have two options regarding code efficiency and code complexity: a- Function overloading b- Class Template Kindly answer me which option will be the best and arguments in favor of it?
@aadithyarajangam375 жыл бұрын
i am studying class 12 , thanks for simply and easy way of teaching function overloading within 10 mins.
@SimpleSnippets5 жыл бұрын
Most welcome buddy. I'm glad you liked this video. I would request you to please share it with your friends too ✌️😊
@aadithyarajangam375 жыл бұрын
@@SimpleSnippets OK bro I will share it to all my friends, and thanks for your reply.
@SimpleSnippets5 жыл бұрын
Most welcome bro 😊 your support means a lot to our channel and our tech community 😊✌️
@tommystephen91463 жыл бұрын
Nice to watch your tutorial. In this video you have supplied the arguments while writing the code. How can it be written so that a user is prompted to input two values and the compiler recognizes the data type automatically and choose the appropriate function? I have just started learning C++ .
@cyberdoofinator78272 жыл бұрын
probs a tad late now but simply prompt the user for input within the function and use cin>> to input whatever value ya want
@TeGEO73 жыл бұрын
thanks alot ,,i think i have gained some knowledge ,,the practical aspect is more reliant than theory
@gowrichandran94903 жыл бұрын
Thanks for the playlist it helped amazingly.
@SimpleSnippets3 жыл бұрын
Glad it helped Gowri! Please do share the videos and channel with your friends too. Thats the biggest help and support you can give back to our channel!
@sumitroy994111 ай бұрын
Bro You're saying in main function that cout
@saloniaggarwal72594 жыл бұрын
How compiler differentiates between overloaded functions and how linker mapped these functions in memory?
@farhanmohsin41194 жыл бұрын
Very clear to understand. Great Sir
@SimpleSnippets4 жыл бұрын
Glad to hear that. Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@sankalpmukim10526 жыл бұрын
Hi Tanmay, love your videos. Please explain what will happen if we have function overloading on the basis of no. of parameters as well as default arguments in the function with more no. of parameters. Data types of all parameters be same! Will it show an error?
@SimpleSnippets6 жыл бұрын
Well if the number of parameters is different then it shoudl work. How about you try the same yourself and let me know whats happening 😉
@PintuKumar-yo8vq5 жыл бұрын
u cleared my all concepts.Thank u very much
@SimpleSnippets5 жыл бұрын
Thank you so much for the positive response buddy 😇 I would request you to please share the video with your friends and contacts. That will be the best help and support for the channel 😊✌️
@gamersoul10984 жыл бұрын
thank you bro because of your example i could understand this concept properly.
@SimpleSnippets4 жыл бұрын
Thats great to know bro, please do share the videos with your friends too ✌
@ravikantsaini5846 жыл бұрын
Hii u teachs well n gud ... But i have some doubts .. 1>Which compiler do you use can u tell me the name ? 2>Can we use two function with different name in same program?
@SimpleSnippets6 жыл бұрын
Thank you very much Ravikant for the positive feedback. Glad to hear that you liked the video. Here are the answers to your questions - 1 - It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler 2 - Yes we can you any number of functions with different names, infact we can use same named functions also provided it has different - a) no of arguments b) different datatyped arguments c) different order of arguments. This feature is known as function overloading in C++
@hanumanthraohanumanthrao76472 жыл бұрын
Superb explaination , with as simple as possible , the best explaination , just by seeing this 1 video ,i susbcribed to u r channel, hope i r videos will play more hours in my mobile 👍👍
@SuperRishabh165 жыл бұрын
int add(int x, int y) { cout
@SuperRishabh165 жыл бұрын
in your example code why is it so that compiler is not executing function number 2 to perform the 4th and 5th addition because function 2 makes the fucntion 5 and 4 useless infact 1 also.
@SimpleSnippets5 жыл бұрын
I did understand your doubt. If you enter - add(5,4) it's (int,int) which means function 1 should be called right? But what you're saying is when you input add(5,4) still function 2 is called? Is that what you're saying?
@SuperRishabh165 жыл бұрын
@@SimpleSnippets yes exactly ...
@SimpleSnippets5 жыл бұрын
Will have to check up on this. I don't think I've faced this situation before 😅✌️
@SuperRishabh165 жыл бұрын
@@SimpleSnippets yeah sure take your time but please tell me if you figure it out..thanks :)
@SilentKiller-yn4jo6 жыл бұрын
A really silly doubt here, but consider the module: void print (int a); Here the function is void type so there is no return. But then again the return type mentioned in the parameter is int. So does the function return an integer value or do we have to use cout to display?
@SimpleSnippets6 жыл бұрын
The parameter that we pass is NOT a return type. if you pass any parameters in the function, but your return type is void, then you will have to use cout to display those parameters. Lets say your return type is int and your method is performing addition of 2 integers, in that case you will pass 2 integers as parameters and add them and then return the addition value since your functions return type is int. ✌
@valizeth40736 жыл бұрын
The function type is the return value. A void cannot return anything else than nothing. A void example(int a); cannot return a value. A cout is not really a return, we can use the int, but not send it.
@yameenahmed28366 жыл бұрын
Thank u tomorrow is my exam this video helped me to know the concept very clearly in just 10 min......
@SimpleSnippets6 жыл бұрын
Thank you do much buddy for such a wonderful response and comment. Please share the video with your friends too. That'll be the best help and support for our channel 😊✌️
@bhumisoni15437 жыл бұрын
Satisfied with the explanation.... Good.
@SimpleSnippets7 жыл бұрын
+Bhumi Soni thank you so much for the positive response. Do share the video with your friends and contacts 😊✌
@usamasafdarkhan38856 жыл бұрын
Good Channel and good way of Teaching. Stay blessed and keep it up . I enjoyed and learned a lot.
@SimpleSnippets6 жыл бұрын
Thank you very much for such a positive response. Do share the video with your friends and contacts 😇✌
@usamasafdarkhan38856 жыл бұрын
yes i do... keep it up ... stay blessed
@SimpleSnippets6 жыл бұрын
+Usama Safdar Khn thank you very much 😇
@kamyagupta40302 жыл бұрын
Thank you so much ❤️
@Rockstard46 жыл бұрын
best explanation and awesome example......you're best
@SimpleSnippets6 жыл бұрын
Thank you very much buddy. I'm so happy to hear such a wonderful comment from you. Please do share this video with your friends and contacts as that will be the best help and support for our channel 😇✌️
@santhoshm75843 жыл бұрын
how to get input from the user like how to use "cin>>" for same variables???
@ataladin874 жыл бұрын
How can I use Function overload with the "string" Datatype???
@vineeshvambro69777 жыл бұрын
good explanation,correct speed
@SimpleSnippets7 жыл бұрын
+V AMBROZ thank you so much for the positive review. Do share the video with your friends and contacts 😇
@otabeksaibnazarov57043 жыл бұрын
Thank you bro, I came to know a lot
@SimpleSnippets3 жыл бұрын
Glad to hear that. Please do share the videos and our channel with your friends if you want to genuinely support me & our channel!✌😇
@akhilthallapally95205 жыл бұрын
Tq soo much bro well done plz do board classes videos too easy to understand
@niroshapothagani97845 жыл бұрын
What is the scope of
@muskansharma73005 жыл бұрын
btw i studied DE from your channel & i managed to clear it😋😋thanks a lot
@SimpleSnippets5 жыл бұрын
Wow that is so cool Muskan😇 Very happy to hear this from you & proud of you ✌
@muskansharma73005 жыл бұрын
@@SimpleSnippets thanks to the best onl9 tutor 😀😍
@SimpleSnippets5 жыл бұрын
Thank you so much muskan. So cool to know this and thank you for your support always ✌️ I would request you to please share the videos with your friends too 😊
@muskansharma73005 жыл бұрын
@@SimpleSnippets i already did 💖😃
@SimpleSnippets5 жыл бұрын
Amazing muskan 😊
@ЮлияЭм-у6е Жыл бұрын
Hello👋🏿 Could you help me, please? 🙏 For this Assignment, write a program in C++ to implement following Programming concept. There is no standard output format for this Assignment. You have to implement the following features in a program - 1. Automatic Variable 2. Static Variable 3. Default Arguments 4. Reference Variable 5. Reference Parameter 6. Function Overloading 7. Nesting Function 8. Recursive Function
@yogeshmaheshwari49564 жыл бұрын
Hey @simple snippets, if arguments are same but return type is different, can we have function with same name in that scenario?
@SimpleSnippets4 жыл бұрын
No
@yogeshmaheshwari49564 жыл бұрын
@@SimpleSnippets ok thanks a lot
@anonymouspaul7231 Жыл бұрын
wrong output... At first " addition is" will be printed and then the respected functions will be called ( everything inside function will be printed)
@muskansharma73005 жыл бұрын
hey i have a topic called "overloading" in my syllabus.does it include both function & operator ?
@SimpleSnippets5 жыл бұрын
Yup it broadly applied to both ✌️
@praveens76984 жыл бұрын
Sir is function overloading in below cases work void display (char*p); void display (const char*p); Plz reply me
@ChocooWafeer6 жыл бұрын
You made it very easy to understand! Thank you :D
@SimpleSnippets6 жыл бұрын
Thank you so much buddy. I would request you to please share the video with your friends also. That will be the best help and support ✌️😇
@up8oj Жыл бұрын
Well explained 👍👍
@goxsec71054 жыл бұрын
VERY WELL EXPLAINED
@SimpleSnippets4 жыл бұрын
Thank you so much buddy, I am glad to hear this from you. Please do share the videos with your friends & Definitely SUBSCRIBE. Thats the biggest help & support 😇✌
@j3froc635 жыл бұрын
So overloading means multiple functions with SAME name, SAME statements inside it's brackets but everything else like it's return, parameter type and etc can be Different?
@SimpleSnippets5 жыл бұрын
No, It means SAME name but Different type or parameters, different number of parameters or the different order of parameters ✌
@PravinTiwary21126 жыл бұрын
Please make a video on classes and objects .😄
@PravinTiwary21126 жыл бұрын
Awesome explained bro 😄😃😄😃
@SimpleSnippets6 жыл бұрын
The video is already up buddy. Complete C++ programming playlist is there on the channel. Do check it and let me know how you find it 😋
@shansmarson6 жыл бұрын
very good explanation..... Thank you.....
@SimpleSnippets6 жыл бұрын
Hey, Thank you so much buddy. Really glad to hear this from you. Please do share the video with your friends too. That'll be the best help and support for the channel ✌️😋
@mohammedimran36226 жыл бұрын
This really helped. Thank you.👍✌️
@SimpleSnippets6 жыл бұрын
Thanks for the positive feedback buddy. Do share the video with your friends too 😇
@raunak27215 жыл бұрын
One of the best video
@SimpleSnippets5 жыл бұрын
Thanks buddy, I would request you to please share the video with your friends too. That will be the best help and support ✌😇
@raunak27215 жыл бұрын
@@SimpleSnippets bhai pure class mai share kr diya hu no problem
@SimpleSnippets5 жыл бұрын
Thank you bhaaai 😉😁 means a lot to me ✌️ keep up the support ♥️
@mauamadoudrammeh80834 жыл бұрын
you the best bro, i really learned a lot today bro
@SimpleSnippets4 жыл бұрын
Thats great to hear buddy, Please do subscribe and share our channel with your friends too! Thats the biggest help and support 😇
@GalaxyCookies76 Жыл бұрын
Marvellous
@neerajmahapatra52395 жыл бұрын
Easy to understand and very cool Can i know how u speak so good english 😍😍
@SimpleSnippets5 жыл бұрын
Thank you so much Neeraj 😊 Well I think I have decent English because I listen to a lot of English songs, watch a lot of Hollywood movies, chat in English etc. So over the course of time my spoken English got better ✌️😊
@SimpleSnippets5 жыл бұрын
Hahaha yes ye cheej face ki hai bohot Maine bhi. Ek point ke baad farak nai padta ki log Kya bolte aur sochte bro. You keep working on improving yourself 🤟😊
@harshagoud50077 жыл бұрын
My fav channel
@SimpleSnippets7 жыл бұрын
+Harsha Goud thank you so much for such a wonderful comment ❤😇 it's so nice to hear that you love this channel. Do share it with your friends and contacts 😬
@arunimawankhade34302 жыл бұрын
Thanks a bucket bro!!🌟
@sourabhbagde7757 жыл бұрын
Great work dah... Keep up uh tuts more... 👍
@SimpleSnippets7 жыл бұрын
+Sourabh Savi you're welcome buddy. Great to hear from you ✌😊
@smitanigam2534 жыл бұрын
Bro you are great
@SimpleSnippets4 жыл бұрын
Thank you Smita 🤟 glad to hear this from you. Please do share the videos with your friends too. That's the biggest help and support 😇
@zainabarif93546 жыл бұрын
if we have 5 funcions with same name if calling one function with 2 parameters,which one will be called first and why?
@SimpleSnippets6 жыл бұрын
Well since ever function will be different in some kind, only one of the function will be called depending upon the number of parameters, type of parameters or the order of parameters. That's the whole idea of function overriding ✌️😇
@zainabarif93546 жыл бұрын
Depending upon the number,type and order of parameters, which will be called first and why? You didn't really answered my question sir.
@SimpleSnippets6 жыл бұрын
Okay, I don't think you understood what I said. The function which is called depends upon the function protoype which you use while calling it. Okay lets take an example - suppose you have 6 functions okay - add() add(int x) add(int x, int y) add(double x, double y) add(int x, double y) add(double x, int y) Now in the main() function or any other function you make a function call - add(4,5) Which function will be called here ? observe the function call and the parameters passed here. Since both the parameters are int type, the 3 add function will be called. Again lets say you make another function call- add(5, 7.5465) Which function will be called here ? observe the function call and the parameters passed here again. Since since first parameter here is a int and second parameter is a double the 5th function will be called and not 6th. Getting it ? One more example - lets say you make another function call- add(6.54, 9) Which function will be called here ? observe the function call and the parameters passed here again. Since since first parameter here is a double and second parameter is a int the 6th function will be called and not 5th. I hope this would clear your doubt about which function will be called and when and why. Regards.✌
@zainabarif93546 жыл бұрын
Spent more than an hour on it but not getting it. Anyways Thanks. 🙆
@SimpleSnippets6 жыл бұрын
Well I think you should watch few more videos on this topic. Maybe you'll get clear idea after a few more videos ✌️
@ombramhakshatriya82864 жыл бұрын
Tanks bro.... Please keep it up...❣️👍
@SimpleSnippets4 жыл бұрын
Thank you so much buddy, please do share the videos with your friends too. Thats the biggest help and support for our channel ✌
@akilarsath64995 жыл бұрын
What computer course(degree)will more scope in future (job)
@SimpleSnippets5 жыл бұрын
I guess in future it will not be about the degree or course. It'll be mostly about the skills and the technology which you Excel in ✌️ Ultimately it depends on what interests you have ✌️
@akilarsath64995 жыл бұрын
@@SimpleSnippets I am 14years old and I am in india,tamilnadu
@SimpleSnippets5 жыл бұрын
Oh that's nice to know buddy ✌️ I do have a few friends from Tamil Nadu 😇
@musondasalimu29865 жыл бұрын
Wow,, I love it that you speak english exellent...peace🤘✌
@SimpleSnippets5 жыл бұрын
Thank you so much buddy 😊🤟 I would request you to please share the video with your friends too 😊
@musondasalimu29865 жыл бұрын
i did so already, and i need help
@musondasalimu29865 жыл бұрын
@@SimpleSnippets i have a question
@SimpleSnippets5 жыл бұрын
Sure ask me
@musondasalimu29865 жыл бұрын
@@SimpleSnippets The text file contains the formula of a chemical compound (not necessarily existing). The name of the element begins with a capital letter. If the number of some elements in a compound is more than one, then after the name the number of elements is indicated. Formula examples: H2O, HCl, O2, H2SO4, O4H2S, NaCl. For the correct formulas, obtain the molecular weight of the compound. Use a table whose element key is the name of the chemical element, and the information part is the weight of the element. The information in the table download from a text file.
@ashwinipowar22304 жыл бұрын
Thanks a lot for such a nice video.You always explain all concepts in very simple language
@yuvagangadharkarini74387 жыл бұрын
Good explanation
@SimpleSnippets7 жыл бұрын
+Yuvagangadhar Karini thank you very much 😇✌ do share the videos with your friends and contacts 😇
@raza-abbas376 жыл бұрын
sir do u have lec about java?
@SimpleSnippets6 жыл бұрын
+Shahid Abbas not yet buddy. It will take time for Java series as I'm working on other videos ✌️
@niroshapothagani97845 жыл бұрын
Easily understand....and good English
@SimpleSnippets5 жыл бұрын
Thank you so much 😇
@arpit55064 жыл бұрын
what if i need to return area of a rectangle and a paralellogram would function overloading not work in that scenario
@keshavburud75845 жыл бұрын
Please make a video of pointers
@roopag50296 жыл бұрын
Tysm fo ths video its very helpful 😊
@SimpleSnippets6 жыл бұрын
Thank you so much Roopa for such a positive feedback. It'll be very helpful if you can share the video with your friends too 😇✌️
@roopag50296 жыл бұрын
Simple Snippets okay sir I'll definitely share😊
@SimpleSnippets6 жыл бұрын
Thank you so much for the support 😇
@JAIVORARA4 жыл бұрын
Link for the c++ compiler???
@unpopularopinions92793 жыл бұрын
use codeblocks
@Learn.AI.3 жыл бұрын
Bro you are awesome ❤️
@SimpleSnippets3 жыл бұрын
Thank you so much 😀
@nashhash46256 жыл бұрын
This explanation is good but not complete with "Functions that cannot be overloaded".
@sumaiyashadan84506 жыл бұрын
it was really helpfull...jazakallah
@SimpleSnippets6 жыл бұрын
Thank you so much ma'am. Please share the video with your friends and contacts 😇
@sumaiyashadan84506 жыл бұрын
ya sure
@SimpleSnippets6 жыл бұрын
Thank you so much 😇
@niroshapothagani97845 жыл бұрын
Simply superrrrrrr
@SimpleSnippets5 жыл бұрын
Please do share this video with your friends too👍
@kyunagamergirl42896 жыл бұрын
This is spactacular 😍
@SimpleSnippets6 жыл бұрын
Thank you so much ma'am 😇✌️ Do share the video with your friends and contacts ✌️
@TECHDESTINATION5 жыл бұрын
Great work !
@SimpleSnippets5 жыл бұрын
Thanks bro 😊♥️ means a lot to me. Please do share the video with your friends too ✌️
@nirajjain045 жыл бұрын
Greatly job!
@SimpleSnippets5 жыл бұрын
Thanks bro ✌️ Please do share the video with your friend too 😊
@nirajjain045 жыл бұрын
I did it already!😅
@SimpleSnippets5 жыл бұрын
Thank you so much Niraj 😊
@kumarjyothi1896 жыл бұрын
Pls can u make a video on c++ i/o operations
@SimpleSnippets6 жыл бұрын
I think I have a video on file handling. Check the C++ programming playlist ✌️
@ARYANROCKS16 күн бұрын
sir can you please tell how you code so fast🙏🙏
@roshanbohara883412 күн бұрын
Why your website is not working?
@dhaya88576 жыл бұрын
What about reference parameter
@asuanewme89435 жыл бұрын
Please make video on class 12 standard
@SimpleSnippets5 жыл бұрын
When it comes to programming, its pretty much the same at every standard. You will find many similar topics 😇
@muhammadiqbalghauri46053 жыл бұрын
Nice man 😘😘
@SimpleSnippets3 жыл бұрын
Thank you so much 😀
@sneha.n48433 жыл бұрын
Tq😘😘
@SimpleSnippets3 жыл бұрын
Please do share the videos and channel with your friends too. Thats the biggest help and support you can give back to our channel!
@akilarsath64995 жыл бұрын
What is mean by return (a+b) bro
@SimpleSnippets5 жыл бұрын
It means add variable a and b and return the result ✌️
@yabisamraj19063 жыл бұрын
Good
@SimpleSnippets3 жыл бұрын
Thanks
@karthikchandru6 жыл бұрын
i understood well
@SimpleSnippets6 жыл бұрын
Thank you so much Karthik, glad to hear this from you. Please do share the video with your friends and contacts. That will be the best help and support for our channel ✌😇
@sinhakingdom21525 жыл бұрын
Using namespace std ; Is used why
@mughalhouse92445 жыл бұрын
to get input and output means to use cout and cin statements if we dont use it we use alternate of it like std::out
@krishnaleela76265 жыл бұрын
Bro can plz cmt me the link of object and class in c++
@SimpleSnippets5 жыл бұрын
Sure check this playlist - kzbin.info/aero/PLIY8eNdw5tW_o8gsLqNBu8gmScCAqKm2Q
@jaspreetsodhi Жыл бұрын
Nice
@mahamudhasan43117 жыл бұрын
helpful
@SimpleSnippets7 жыл бұрын
+mahamud hasan thank you very much. Do share the video with your friends and contacts 😇✌
@timray3475 жыл бұрын
I think you're teaching wrong bro because the same function having two different return types cannot be overloaded.it causes ambiguity.pls check it out.
@SimpleSnippets5 жыл бұрын
If you see the presentation I have not mentioned anything about return type of the function. The only 3 parameters which can be used for overloading are - 1) Different data type of parameters 2) Different number of parameters 3) Different order/sequence of parameters This is what I displayed on the presentation screen 😇