What is runtime errors c++?
No Answer is Posted For this Question
Be the First to Post Answer
what is upcasting in C++?
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 is it difficult to store linked list in an array?
What is the role of C++ shorthand's?
What are the advantages of using typedef in a program?
What is a forward referencing and when should it be used?
Define linked lists with the help of an example.
Can we have "Virtual Constructors"?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
How a modifier is similar to mutator?
Explain differences between alloc() and free()?
What are the five basic elements of a c++ program?