What is dev c++ used for?
No Answer is Posted For this Question
Be the First to Post Answer
What is constructor c++?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
How do you establish a has-a relationship?
Show the application of a dynamic array with the help of an example.
How many pointers are required to reverse a link list?
What does it mean to declare a destructor as static?
WHO DEVELOPED C++?
What are the characteristics of friend functions?
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?
Are strings mutable in c++?