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 / sanish joseph
No guys the ans s 2
it prints d program name:
arguments counts only from 1 nd nt 4m 0
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
Can bst contain duplicates?
What are the three parts of a simple empty class?
What is polymorphism in oops with example?
What is advantage of inheritance?
What do you mean by overloading?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is encapsulation in oop?
What are the two different types of polymorphism?
Templates mean
Can static class have constructor?
What is property in oops?
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 polymorphism means?
How do you define social class?
What is a class and object?