What is do..while loops structure?
No Answer is Posted For this Question
Be the First to Post Answer
When should overload new operator on a global basis or a class basis?
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
What is c++ 11 and c++ 14?
What does flush do c++?
What are raw sockets, where they are efficient?
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?
write a c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement
How do you flush std cout?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
What are advantages and disadvantages of Design patterns?
What is a binary file? List the merits and demerits of the binary file usagein C++.
What is cout flush?