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
Explain the concepts involved in Object Oriented programming.
What is the advantage of oop over procedural language?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Why is oop useful?
What is difference between inheritance and polymorphism?
How do you explain polymorphism?
How is polymorphism achieved?
When not to use object oriented programming?
What is the fundamental idea of oop?
What is polymorphism and why is it important?
What is polymorphism and example?
What is the main feature of oop?
Which is not an object oriented programming language?
What does I oop mean?
What are two types of polymorphism?