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


Please Help Members By Posting Answers For Below Questions

Can bst contain duplicates?

787


What are the three parts of a simple empty class?

1611


What is polymorphism in oops with example?

642


What is advantage of inheritance?

779


What do you mean by overloading?

680






explain sub-type and sub class? atleast u have differ it into 4 points?

1933


What is encapsulation in oop?

682


What are the two different types of polymorphism?

773


Templates mean

1671


Can static class have constructor?

675


What is property in oops?

669


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).

1769


What polymorphism means?

703


How do you define social class?

682


What is a class and object?

690