logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology See What Others Are Saying!
  • Question
  • What is function prototyping? What are its advantages?


  • Correct Answer
  • Function prototyping is a function declaration statement that tells the compiler about the return type of the function and the number as well as type of arguments required by the function at the time of calling it Syntax: return_type function_name( type1 arg1, type 2 arg2, ); Advantages of function prototype : - It helps the compiler in determining whether a function is called correctly or not Each time when a function is called, its calling statement is compared with its prototype In case of any mismatch, compiler reports an error - A function must be defined before calling it But prototyping allows a function to be called before defining it 


  • More questions

    • 1. What is onshore outsourcing?
    • Discuss
    • 2. What is the Use of SPAN in HTML and give one example?
    • Discuss
    • 3. .What are the different types of environments available in the web?
    • Discuss
    • 4. What is web portal?
    • Discuss
    • 5. What is web application?
    • Discuss
    • 6. Describe a time when your workload was heavy and how you handled it?
    • Discuss
    • 7. Describe a time when you made a mistake ?
    • Discuss
    • 8. How do you parse/validate the XML document?
    • Discuss
    • 9. What major challenges and problems did you face? How did you handle them?
    • Discuss
    • 10. What do you like to do when you're not at work?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment