What is c++ iterator?
No Answer is Posted For this Question
Be the First to Post Answer
What is the standard template library (stl)?
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
Tell me what are static member functions?
Is the declaration of a class its interface or its implementation?
What are the advantages of c++? Explain
Explain the isa and hasa class relationships.
What is ifstream c++?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
What are the basics concepts of OOPS?
make a middle node of doubly linklist to the top of the list
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?
What is an undefined reference/unresolved external symbol error and how do I fix it?