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
What is and I oop mean?
write a program to find 2^n+1 ?
write a program that takes input in digits and display the result in words from 1 to 1000
Is html an oop?
What are the advantages of polymorphism?
What is abstraction in oop with example?
Why do we use inheritance?
Write a program to reverse a string using recursive function?
What is this pointer in oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is class in oop with example?
Why is encapsulation used?
How oops is better than procedural?
is there any choice in opting subjects like 4 out of 7
What is static modifier?