Do the names of parameters have to agree in the prototype, definition, and call to the function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?

5 Answers  


Why seem interrupt handlers as member functions to be impossible?

1 Answers  


What are Virtual Functions? How to implement virtual functions in "C" ?

3 Answers  


When does a name clash occur?

1 Answers  


How the virtual functions maintain the call up?

0 Answers  






What is Destructor in C++?

0 Answers  


What are containers in c++?

0 Answers  


When should you use global variables?

0 Answers  


What is near, far and huge pointers? How many bytes are occupied by them?

0 Answers  


What is c++ w3school?

0 Answers  


Is it possible to provide special behavior for one instance of a template but not for other instances?

0 Answers  


What are arithmetic operators?

0 Answers  


Categories