Skip to main content

Data Type vs Return Type

Legend Of The Returned One



Aha that is a question right ? Aren't they are the same thing ? At some point I honestly thought the same but actually it's not data type is not return type and return type is not data type . Even if you are using Java php c++ or any other languages








During a program we have to initialize or declare some variable for that we need to specify what data are we gonna use on that particular variable location .

Then what is return type ?

We seen that when we a create  or providing the definition to a function we have to specify a return type to indicate what data type is return from the function to the main function to be more specific it's know as return data type.
For example void cat ( ) " the function cat is not returning any data "
or int cat( ) " means cat is returning some value to the main function"

Ever seen any variable as a data type of return?

I haven't and please let me know if I got it wrong in the comments section because this one gose under the fun facts 
 
"That's it in short data type is the type of data in a variable while return type is the data which is returning from a function "


Did you know constructor is a function/method and that cant have a return type 


I have a apology to make I haven't post any thing for a while Iam blaming my electricity board for that you will get the idea visit kerala during the rain season . Ryzen is coming up stay tuned for that have a nice day 

  

Comments

  1. This is realy a Nice blog post read on of my blogs It is really helpful article please read it too my blog Recover password on Pinterest you can visits our websites or toll free no +1-866-558-4555. solve your problem fastly.

    ReplyDelete

Post a Comment

Popular posts from this blog

VPN

What Is VPN ? How Dose It Work? What It Does For You ? VPN/ Virtual private Network are used to day for many reasons but we can throw all of those to a general bin .That is securely connecting an individual user to a larger network .in the older days VPN are used by cooperate employees to access their office by remote when they needed to access sensitive informations in a secured way .But in time vpn technology is available to regular internet users it helps people from all around the world to connect in  a secured way .VPN allows your connection to be encrypted and secure to become a anonymous surfing user in the web and also keep you traffic data safe from hackers mean government or may be your over concerned significant others . VPN also get you to access blocked things because of geo location some on-line things such as videos ,music file,news,search engines and so on are unavailable in some country/or places by using VPN make the user looks like a lock ...

How to reset the windows password with any linux

like i promised on my last post we are messing up the windows with linux which is free an open source by the way ....sad ->windows in every sense.. let's get to it.. you need live usb running any linux .. i prefer kali or parrot .. boot from the usb.... you might wanna get an application for this open an terminal in super user and then type in ..... apt-get install chntpw and then open the file system goto.. windows/system32/config/ open a terminal there .... and then or you have to direct your self there make sure there is a SAM file there  ... you can use ls -l for that now everything is straight forward .... Type in ..... chntpw -l sam so you get the username there .. then chntpw -u username sam pick the option   for reset the password.... have fun