Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Unary Minus Operator( Negation)
This operand can be used to negate the value of a variable. It is also used to state a negative number, here a minus(-) sign is prefixed to the number.
e.g.
int x = 5;
int z = -10;
y = -x;
a = z;
The value of y now becomes -5 and 'a' becomes -10.
Though, the language does not offer any unary + operator
Q-What is your reaction to following line of code? delete this; A: This is not a good programming Practice. A good programmer will insist that you must absolute
1.jewels can only be removed for polishing from either end of the necklace. 2.cost of polishing=sitting number*colour value of jewels.
Constructors and Destructors: A Class is defined as constructor by declaring a constructor in the form of function inside the class. In other word a function in the name of
Write a C program to compute the factorial of 5 i.e. 1x2x3x4x5 etc Write a C program to calculate the output Y for a given value of X for the following formula. Y=X 2
Why are all header files not declared in every C program? - Declaring all header files in each program would result in increase in overall file size and load of the program. It
Aim: To implement a program to add two complex numbers using constructors. Code: class complex { int real; int img;
The default Constructor and Destructor If you fail to write a constructor and destructor function, the compiler automatically supplies them for you. These functions have publi
In the Byteland country a string "s" is said to super ascii string if and only if count of each charecter in the string is equal to its ascci value in the byteland country ascii co
Write a C# program to compute the Net Pay for employees. The program is to have a Main method and two user-defined methods. The Main method is to input the employee's name (string)
Write a program to get the largest element in an array using Function? # include int largest(int b[],int); main() { int lar,a[5]={12,2,36,40,5}; lar=largest(a,n); printf("
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd