In the following declaration of main, "int main(int argc,
char *argv[])", to what does argv[0] usually correspond?
1) The first argument passed into the program
2) The program name
3) You can't define main like that
Answer Posted / mahi
my ans is 2.it prints the program name
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is advantage of inheritance?
Can abstract class have normal methods?
What is the importance of oop?
What is persistence in oop?
write a program to find 2^n+1 ?
What are functions in oop?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What are properties in oop?
Is data hiding and abstraction same?
What is encapsulation process?
What do you mean by variable?
Can you explain polymorphism?
What are the three parts of a simple empty class?
class type to basic type conversion
Can private class be inherited?