What is capacity in vector in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is an adjust field format flag?
What is difference between c++ 11 and c++ 14?
You run a shell on unix system. How would you tell which shell are you running?
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 does obj stand for?
What is an adaptor class in c++?
Difference between Abstraction and encapsulation in C++?
Implement a 2 dimensional array by one dimentional array
How do you master coding?
Write a program to add three numbers in C++ utilizing classes.
what are the iterator and generic algorithms.
Write a Program for find and replace a character in a string.