Computer Science, asked by saqlainmushtaq818, 4 hours ago

What a short note on the following

a. A function without return type and with no parameters.

b. A function without return type and with parameters.

c. A function with return type and with no parameters

d. A function with return type and with parameters​

Answers

Answered by SULTHANASAJI
0

Explanation:

Function with no argument and no return value : When a function has no arguments, it does not receive any data from the calling function. Similarly when it does not return a value, the calling function does not receive any data from the called function.

Answered by Itzdarkshadow56
3

Answer:

a.Function with no argument and no return value : When a function has no arguments, it does not receive any data from the calling function. ... A example for this is getchar function it has no parameters but it returns an integer an integer type data that represents a character.

b.Function with no argument and no return value : When a function has no arguments, it does not receive any data from the calling function. Similarly when it does not return a value, the calling function does not receive any data from the called function.

c.Function with no argument and no return value : When a function has no arguments, it does not receive any data from the calling function. Similarly when it does not return a value, the calling function does not receive any data from the called function.

d.A function in C can be called either with arguments or without arguments. ... Hence the function prototype of a function in C is as below: There are following categories: Function with no argument and no return value : When a function has no arguments, it does not receive any data from the calling function

Explanation:

plz folow me and give me a lot of thanks plz plz plz plz plz plz plz plz plz plz plz plz plz plz

Similar questions