In int main(int argc, char *argv[]) what is argv[0]
a) The first argument passed into the program
b) The program name
c) You can't define main like that
No Answer is Posted For this Question
Be the First to Post Answer
When does a name clash occur in c++?
Write a program that will count the number of digits in an input integer up to value MAX_VALUE (2147483647). Thus, for an input of 5837 the output should be 4 digits Make sure that your program works for the numbers 0, 1, and 10. For the number 0, the output should be 1 digit
What is the function of the keyword ‘volatile’ in C++?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
What is const pointer and const reference?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What is the difference between struct and class?
What issue do auto_ptr objects address?
What is scope in c++ with example?
Is atoi safe?
Difference between Operator overloading and Functional overloading?
Can a constructor throw a exception? How to handle the error when the constructor fails?