subject

Remember that the function "main" takes optional parameters, these being common:
int main( int ac, char *av[] )
a. the variable "av" is a pointer to the command line, which can then be broken up with calls to "strtok"
b. the variable "av" has the name of the program plus the other words from the command line.
c. if there were no command line parameters, "av[0]" is null.
d. the value in "av[0]" is the first parameter after the program name that was typed on the command line.
e. the variable "ac" is the number of command line arguments minus one

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 13:30
In your ice breakers game, what happens when the snowball collides with one of the snowboards? a. the player's score will increase. b. the snowball will leave the play area. c. the snowball will be destroyed. d. the snowball will bounce.
Answers: 1
question
Computers and Technology, 21.06.2019 21:30
Write code using c . (take input from user) calculate the size of a given file in kbs. in this task you will complete the function with the following prototype: float get_file_size(char * filename); the function takes the file name (address to the start of a null terminated character array) as input. the function should then open the file and find the number of bytes it contains till eof. the number of bytes divided by 1024 will give the size in kbs. if the file cannot be opened the function should return -1.
Answers: 2
question
Computers and Technology, 22.06.2019 01:00
What is added to the < meta > tag to describe the encoding type?
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
You know the right answer?
Remember that the function "main" takes optional parameters, these being common:
int main( in...
Questions
question
Health, 08.04.2020 20:53
Questions on the website: 13722363