Ans.. token in c is the most important element to be used in creating a program in c. we can define the token as the smallest individual element in c. for example, we cannot create a sentence without using words, similarly we cannot create a program in c. without using tokens in c. therefore, weContinue reading “Q..What is c tokens? explain few of them“
Category Archives: Uncategorized
6.Bitwise operators:As the name suggest bitwise operators are the those operators that perform operations at level .These operation include : bitwise AND ,bitwise OR bitwise XOR and shift operators.
A.bitwise AND:like boolean AND (&&) bitwise (&) performs operation on bits instead of bytes ,char,integers etc.it oprends is 1 bit.it similar to the AND logical operators . Ex. 10101010 & 01010101=00000000 Int a =10 ,b=20,c=0; c=a&b; B. bitwise OR:when we use the bitwise OR operator (|),the bit in the first operand is OR ed withContinue reading “6.Bitwise operators:As the name suggest bitwise operators are the those operators that perform operations at level .These operation include : bitwise AND ,bitwise OR bitwise XOR and shift operators.”
5,Unary operators:
Unary operators act on single operands. C language supports three unary operators unary minus,increment,and decrement operators. A.unary minus>>>Unary minus (-)operators is strikingly different from the binary arithmetic operator that operates on two operands and subtracts the second oprend from the first oprends. The unary operators is sign negative value Ex: int a,b=10; a=-(b) Here thisContinue reading “5,Unary operators:”
4.Logical operators:
Logical operators very important role in C language three are support three type of operators , Logical AND(&&) ,logical OR(||) and logical NOT(!),as in case in arithmetic expression the log ical expression the logical expression the logical expression are evaluated from left to right. AND=&& OR=|| NOT !=
2.Relational operators:
A relational operators is also known as comparison operators,is an operator that compares two values.Expresion that contain operators are called relational operators Relational operators return true or false value ,depending on whether the conditional relationship between the two operators holds or not.
Q.what is c programing ? Explain few them..
ans=C programing is a general purpose ,procedural,imperative computer programing language devolved in Dennis M. Rithie at the the Telephone Laboratories to develop the UNIX operating system . C is the most widely used computer language .It keeps fluctuating at number one scale of popularity along with Java programing language,which is also equally popular and mostContinue reading “Q.what is c programing ? Explain few them.. “
1.Arithmetic operators
The arithmetic operators ,their syntax,and usage in c language.arithmetic operators can applied to any integer or floating -point number.the addition ,substraction, multiplication,and division(+,-,*,/) operators perform the usual arithmetic operation in c programes.
Q.what is operator explain it Category?
Ans:an operators is symbol that specifies the mathematical,logical or relational operation to be performed.C language supports different types of operators ,which can be used with variables and constant to from expressions . $these operators can be categorized into the following major groups: 1.arithmetic operators 2 .relational operators 3.Equality operators 4.Logical operators 5. Unary operators 6.ConditionalContinue reading “Q.what is operator explain it Category?”
what is python keywords…
the keywords in any language should any remain .The relatively stable ,but should things ever change a list of key words as well as there are 35 some key words are and class elif finally if lambda print while as continue else for import not raise with assert def execept from in or return yieldContinue reading “what is python keywords…”