What relational operators if statements in c++?
Does c++ support exception handling?
What is the use of this pointer in c++?
Can we have "Virtual Constructors"?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
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 is a constructor initializer list and when we use constructor initializer list?
Write bites in Turbo c++ Header ("Include") Files.
How would you use the functions sin(), pow(), sqrt()?
write a program that will produce the ff. output. "what fruit will you buy? 1)apple 2)orange 3)mango ENTER CHOICE (1,2 or 3)> HOW MANY WILL YOU BUY?> THAT WILL COST XX.XX
What is near, far and huge pointers? How many bytes are occupied by them?
what is Loop function? What are different types of Loops?
What is expression parser in c++