Program to open a file with First argument
void main(int nArgCount, char *szArgVector[])
{
if(nArgCount != 2)
{
printf("\nWorng number of argument\nSynatx: %s
<filename>",szArgVector[0]);
return;
}
FILE *fp = foepn(szArgVector[1],"r+");
//Process the file here
fclose(fp);
}
Is This Answer Correct ? | 0 Yes | 0 No |
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
What do you mean by pure virtual functions?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
why destructor is not over loaded?
why c++ is called OOPS? waht is inherutance? what is compiler?
What is late bound function call and early bound function call? Differentiate.
What is oop in simple words?
What is polymorphism used for?
What is coupling in oops?
In multilevel inheritance constructors will be executed from the .... class to ... class
Is react oop?
Why do we use oops?