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
Why do we use polymorphism in oops?
What is overriding in oop?
What is property in oops?
Why we use classes in oop?
What do you mean by overloading?
What is stream in oop?
What is difference between abstraction and encapsulation?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Why do we need oop?
What is constructor overloading in oop?
Whats is abstraction in oops?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What makes a language oop?
Get me an image implementation program.
What is the real life example of polymorphism?