Answer Posted / kishore kumar naik p
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 |
Post New Answer View All Answers
What is constructor overloading in oop?
Write a c++ program to display pass and fail for three student using static member function
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
explain sub-type and sub class? atleast u have differ it into 4 points?
Why do we use polymorphism?
What is solid in oops?
c++ program to swap the objects of two different classes
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is encapsulation with example? Can main method override? What is the purpose of polymorphism? What are oops functions? Can private class be inherited? What is object in oop? What is polymorphism and why is it important?