- Suppose
you want to handle integer numbers for this you can have :-
return 0;
return 0;
C++ Tutorial Site
In the previous chapter, you learned all about how to use inheritance to derive new classes from existing classes. In this chapter, we are...
C:\Users\Jatinder\Desktop\example27_cpp.html <!-- Exported by C-Free C/C++ IDE #include<iostream.h> #include<conio.h> ...
Keywords and naming identifiers in c++ Keywords C++ reserves a set of 63 words for it’s own use. These words are called keywords ...
Hungarian Notation is a naming convention in which the type and/or scope of a variable is used as a naming prefix for that variable. Fo...
While relational operators can be used to test whether a particular condition is true or false, they can only test one condition at a ti...
Even though the char data type is an integer (and thus follows all of the normal integer rules), we typically work with chars in a dif...
In the last lesson, you learned that variables declared inside a block have block scope. Block scope variables can only be accessed with...
Function overloading is a feature of C++ that allows us to create multiple functions with the same name, so long as they have differen...
In previous lessons, you learned about local variables (which have block scope) and global variables (which have program scope). There i...
C++ has two kinds of constants: literal, and symbolic. Literal constants Literal constants are literal numbers inserted into the cod...
0 comments: