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 |
Can a binary search tree be used as an index? If yes, how? Explain
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
main is a predefined or user define function if user defined why? if predefined whay?
how to capitalise first letter of each word in a given string?
What is the use of gets and puts?
In C, What is the #line used for?
What is the use of printf() and scanf() functions?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
What is array of structure in c programming?
what are you see during placement time in the student.
0 Answers Goldman Sachs, TCS, Tech Solutions,
How can I determine whether a machines byte order is big-endian or little-endian?
Is there any demerits of using pointer?