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 is FIFO?
write a program to find the sum of the array elements in c language?
24 Answers ICT, Infosys, Wipro,
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); }
11 Answers CISOC, CitiGroup, College School Exams Tests,
What is a C array and illustrate the how is it different from a list.
What is a program flowchart?
Define and explain about ! Operator?
Why c is called procedure oriented language?
1)what are limitations for recursive function? 2)write a program to read a text file and count the number of characters in the text file
marge linklist
1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
Write a program to print all the prime numbers with in the given range
8 Answers ABC, College School Exams Tests, TCS,
Explain following declaration int *P(void); and int (*p)(char *a);