Answer Posted / bhupende r singh
The bitwise shift operators move the bit values of a binary
object.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
p*=(++q)++*--p when p=q=1 while(q<=6)
If errno contains a nonzero number, is there an error?
How can I find the modification date of a file?
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
How can you avoid including a header more than once?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What is oops c?
Is it cc or c in a letter?
write a c program in such a way that if we enter the today date the output should be next day's date.
How do I create a directory? How do I remove a directory (and its contents)?
Why is c platform dependent?
What is the right type to use for boolean values in c?
Write the syntax and purpose of a switch statement in C.