What is input operator in c++?
No Answer is Posted For this Question
Be the First to Post Answer
what is multi-threading in C++?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
Write a C++ Program to Generate Random Numbers between 0 and 100
What are the types of pointer?
What is function prototyping? What are its advantages?
In a function declaration what does extern means?
What is a v-table?
What are access specifiers in C++?
Can we get the value of ios format flags?
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 are the advantages of early binding?
What is struct c++?