Write a statement that declares a prototype for a function a

Write a statement that declares a prototype for a function add, which has two int parameters and returns an int.

Solution

The only numeric type supported in C0 is int. Values of this type are 32-bit words, interpreted as integers according to two’s complement representation. Computations are performed modulo 2 32 .

the statement that declares a prototype for fuction add ,which has two int parameters and returns an int is

int add(int, int);

 Write a statement that declares a prototype for a function add, which has two int parameters and returns an int.SolutionThe only numeric type supported in C0 i

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site