control 50 devices which has 2 states on and off.using
bitwise operator.plz answer it its urgent
Answer / vishnu
int main()
{
int dev[50];
int i;
int k=1;
for(i=0;i<50;i++)
{
k =1^k;
dev[i]= k;
printf("%d",k);
}
return 0;
}
| Is This Answer Correct ? | 0 Yes | 1 No |
What are static functions?
show how link list can be used to repersent the following polynomial i) 5x+2
Describe the steps to insert data into a singly linked list.
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
2 Answers HCL, IBM, Satyam, Vimal, Vimukti Technologies,
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
what is compiler
print the palindrome numbers in between 0 to n
What is the time and space complexities of merge sort and when is it preferred over quick sort?
array of pointer pointer to array pointer to pointer
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
What is character constants?
What is c variable?