it is used to know the memory size of variable of data type.
Ex: float a;
printf ("sizeof (a)= %d\n", sizeof (a));
or:
printf ("sizeof (float)= %d\n", sizeof (float));
conditional operator , size of operator , membership operator and scope resulation operator can not be overload in c++
The ++ in C++ refers to the postfix increment operator (operator++()). It's literal meaning is "the successor to C", in reference to the C language upon which the C++ language is based.
There is no memory management operator in C++ -- it is an unmanaged language. You use the C++ new operator to allocate memory, and use the C++ delete operator to release previously allocated memory.
exp1? exp2: exp3
To get the size of an array in C, you can use the sizeof() operator. This operator returns the number of bytes occupied by the array, so to get the number of elements in the array, you can divide the total size by the size of one element.
unary + is the only dummy operator in c,...
Not possible. Of course you can call a function which does the addition for you, but function-calling is also an operator in C.
A C operator is not a job or profession but rather a coding language. C operators perform certain tasks in programming such as a "+ " operator performs addition.
No, there is no such operator or function in Java that can tell you the amount of memory an object uses.
Visit this link http://www.cplusplus.com/doc/tutorial/operators/
A Boolean operator is any operator that returns true or false. False is typically denoted by the integer value 0 while all non-zero values equate to true. The less-than operator (<) is an example of a Boolean operator.
C++ is a programming language, but, in the same time, it's a valid expression. Example:A= C++is equivalent with:A= C, C= C+1It's a bit of a joke. In the programming language C, ++ is the increment operator, so C++ can be interpreted as "C, except one better."