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); } }
2556what 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 4384what 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 4421What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }
1 3821what is the purpose of the code, and is there any problem with it. bool f( uint n ) { return (n & (n-1)) == 0; }
1 3797what 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 4333Post New Google Interview Questions
What according to you is the prime objective of the sap financial supply chain management?
What is the default font in word?
List the different scope values for the
How do I get the ribbon back in excel?
Explain splunk rest api?
Who owns the newspapers and TV stations in your country?
What is the Flow Action? Explain about the FlowAction?
How many co.codes can you assign to a personnel area? How many pers. Areas can be assigned to a company code? Explain.
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
Material Determination Issue while posting billing document. I am taking about the standard process of SAP. Just try entry with Outcome as A while defining substitute reason and then process the order. It will show both the old and new material with item category as TAX and TAPS respectively. TAX for non- stock item- means as of now the material is not available. TAPS- the new material which has replaced the old material. Now, if you will see the configuration of item category TAX and TAPS in IDES, it would be more clearer as I mentioned in the first update. The only issue is - I am facing a problem in billing. Now if you re-consider my post, I guess it would be more clearer. However, the issue is that in billing its not showing the right price. Please suggest. Configuration - Item category- TAX- Old material. Billing relevance- A Stats- X Pricing- NO Item Category- TAPS- New materail Billing Relevance- A Stats- NO Pricing- Yes Because I want both the material in billing, so billing relevance is A. And I want the price of new material so for TAPS pricing - Yes. But every time I am trying system is taking the price of TAX. Not sure why? If I make it as vice- verse, thinking lets take the price of new material, now the system is taking the price of old .
How do you sort a string in java?
How the Entry passed for Loss of Payment
What is the use of header files?
HCL,TATA,BIRLA,ACER,SONY,SAMSUNG,HEROHONDA,TVS Is shell scripting difficult?