Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
array typesan array is a collection of objects of a one data type the individual objects are accessed by their position in the array this way of
the goto statementthis statement can be used to branch to another statement of the program this is rarely used as it violates the principle of
the continue statementthe continue statement causes the next iteration of the enclosing loop to start when this is encountered in the loop the rest
the break statementthe break statement which was already covered in the switch case can also be used in the loops when a loop statement is
normal 0 false false false en-in x-none x-none microsoftinternetexplorer4
the for loopfor loop is the controlled form of loop the general format of this for initialize test
looping statementsthe statements usually used for looping are for do-while while the goto statement can be used for looping but its use is generally
the switch constructthe switch statement is a multi-way decision-making construct that tests an expression matches one of a number of constant values
the conditional expression operatoran alternate method to using a simple if-else construct is the conditional expressions operator a conditional
control flowthe control flow statements are used when it is needed that the flow of the program is to be changed after taking some decision this
type castingimplicit type conversions as allowed by the language can lead to errors creeping in the program if care is not taken thus explicit type
mixed mode expressions and implicit type conversionsa mixed mode expression is one in which the operands are not of the similar type in this case the
the size of operatorthis is a pseudo-operator given by the language which returns the number of bytes taken up by a variable or data type the value
precedence and order of evaluationthe languages follow a standard precedence for basic operators precedence rules help in deleting ambiguity of the
the shift operatorsthere are 2 shift operators left shift ltlt and right shift gtgt these are binary operators the format
binary logical bit-wise operators there are three logical bit-wise operators
bit-wise operatorssome applications require operations to be done on dissimilar bits of a byte separately bit-wise operators offer a facility to do
logical operatorswe say any expression that evaluates to zero is a false logic condition and that evaluating to non-zero value is a true condition
relational operatorsa relational operator is used to make comparison among two values all these operators are binary and needs two operands there are
compound assignment operatorsapart from the binary and the unary arithmetic operators we also have compound assignment operators these are -
increment and decrement operators the operator for increment is and decrement is - these operators enhances or decrease the value of a
unary minus operator negationthis operand can be used to negate the value of a variable it is also used to state a negative number here a minus- sign
explain the parts of operatorsassignment operatorsthe equal sign is used for assigning a value to another the left hand side has to be a variable
operatorsthe variables which are declared and explained are the operands which are operated upon by the operators operators specify what operations
explain register variablecomputers have internal registers which are used to keep data temporarily before any operation can be performed intermediate