Write a program to reverse a string using recursive function?
What is pure oop?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
What is a class in oop?
which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.
what is a class
What is an object?
What do you mean by variable?
what is the main difference between sizeof() operator in c and c++
What is this interview room ? Is it a class or an object.
What makes a language oop?