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
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?
Why seem interrupt handlers as member functions to be impossible?
What are Virtual Functions? How to implement virtual functions in "C" ?
When does a name clash occur?
How the virtual functions maintain the call up?
What is Destructor in C++?
What are containers in c++?
When should you use global variables?
What is near, far and huge pointers? How many bytes are occupied by them?
What is c++ w3school?
Is it possible to provide special behavior for one instance of a template but not for other instances?
What are arithmetic operators?