What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
2551what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }
1 4379what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }
2 4416What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }
1 3818what is the purpose of the code, and is there any problem with it. bool f( uint n ) { return (n & (n-1)) == 0; }
1 3796what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;
2 4329Post New Google Interview Questions
What will happen in terms of jobs losses and skills as IoT makes devices and robots more intelligent?
What is qtp window?
What is dml with example?
What do you mean Abstraction in java?
What are differences in testing a client server and a web application?
What is the difference between array and pointer?
whats the sales tax slab and company's turnover professional tax slab
What do you know about our bank?
How to Form Local Addresses?
Whos book, titled concerning the revolutions of celestial spheres, is considered to mark the birth of modern astronomy?
What is difference between classpath and path variables in java?
Kindly Help for this Below Scenario, I am going to implement Power BI into our internal software. I’m familiar with the fact that each user can pay $9.99 a month to build and view reports but what I need to know is how can we embed Power BI into our application so that any users that log into our application can see the reports without the monthly fee. I’ve researched enough that it can be done. What I am not familiar with is how to do it or the pricing of embedding it into an application. I think they do pricing on how many renders you do or something. Would you be able to look into how we could embed it into our software and the cost?
If communications with jdbc using xml format, what are 4 actions you could do?
Where?s global assembly cache located on the system? Can you have two files with the same file name in GAC?
What is the difference between wordpress org and wordpress?