Examveda

What is the correct way to declare a function in C that takes no arguments and returns an integer?

A. int func();

B. func(int);

C. func();

D. int func(int);

Answer: Option C


This Question Belongs to C Program >> Function

Join The Discussion

Comments (1)

  1. Kandyala Saikumar
    Kandyala Saikumar:
    2 years ago

    without arguments with return type like returntype funname();
    but answer is not correct

Related Questions on Function