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 |
how to swap the variables without using temp and operators
Can bst contain duplicates?
What is interface in oop?
WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
What do you mean by stack program? Get me an example stack program?
Why is encapsulation used?
different types of castings
What do you mean by Encapsulation?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
What is Object and Class? What are the differences between them?
Please send ford technologies placement paper 2 my mail id
What is object and class in oops?