main()
{
signed int bit=512, mBit;
{
mBit = ~bit;
bit = bit & ~bit ;
printf("%d %d", bit, mBit);
}
}
a. 0, 0
b. 0, 513
c. 512, 0
d. 0, -513
Answers were Sorted based on User's Feedback
what is oop?
Develop a routine to reflect an object about an arbitrarily selected plane
Program to find the largest sum of contiguous integers in the array. O(n)
plz send me all data structure related programs
1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }
why nlogn is the lower limit of any sort algorithm?
{ int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"
4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,j,c,m); }
write a c-program to find gcd using recursive functions