answersLogoWhite

0

AllQ&AStudy Guides
Best answer

int a[10], b[10];

...

a= b; /* method#1 */

for (i=0; i<10; ++i) a[i]= b[i]; /* method #2 */

memcpy (a, b, sizeof (a)); /* method #3 */

This answer is:
Related answers

int a[10], b[10];

...

a= b; /* method#1 */

for (i=0; i<10; ++i) a[i]= b[i]; /* method #2 */

memcpy (a, b, sizeof (a)); /* method #3 */

View page

// Arithmetic method

a = a + b;

b = a - b;

a = a - b;

// XOR method

a = a ^ b;

b = a ^ b;

a = a ^ b;

View page

(a+b)(b-a)

View page

If method A calls method B and method B throws an exception, then method A must handle that exception. It does not have to throw the exception if it is in a try-catch block, but it must do something to deal with it.

Note that this only applies to checked exceptions. If method B throws an unchecked exception, then A is allowed to ignore it.

View page

a*f(b)-b*f(a)/f(b)-f(a).........

View page
Featured study guide

How do you say i love you in Hawaiian

What are the first four multiples of eight

What is roster method

Scientific method for a crime scene

➡️
See all cards
2.6
5 Reviews
More study guides
No Reviews

No Reviews
Search results