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 |
Write down the program to sort the array.
please send me papers for Dy. manager IT , PNB. it would be a great help for me.
What is the difference between null pointer and the void pointer?
what is the difference between structure and union?
How do I declare a pointer to an array?
What is the difference between printf and scanf in c?
i want to asked a question about c program the question is: create a c program that displays all prime numbers less than 500? using looping statement
What is putchar() function?
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
which operator having highest precedence? a.)+ b.)++ c.)= d.)%
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
2 Answers Aricent, Manipal University,
What is the symbol indicated the c-preprocessor?