What is the difference between declaring a variable and defining a variable? Ans. Declaring a variable means describing its type to the compiler but not allocating any space for it. Defining a variable means declaring it and also allocating space to hold the variable. You can al...
See more
Download the Study24x7 App, so you can connect and collaborate.