Question
Will upvote right away thank you The manual page for the gcc compiler is rather lengthy. To search for a string use / (forward slash),
Will upvote right away thank you
The manual page for the gcc compiler is rather lengthy. To search for a string use "/" (forward slash), that is when in the manual page, hit the "/" key and then type the string you are searching for. Using it find what the -O2 option does.
a.
Produces a second executable for debugging
b.
Allows no more than two levels of recursion.
c.
It is not a valid option
d.
Introduces second level optimization
What does strcat do?
a.
Catalogs a string into an array of strings
b.
Puts a string into a central address table
c.
It is an example of array stretching we did in class
d.
Appends a string to another string
Read the manual page for getline (man -s 3 getline). Also read the file playgetline.c in the notes. What do variables nread and len contain after the execution of getline.
a.
nread contains the number of characters in the stringincludingthe null, and len contains the maximum number of characters getline may read from the standard input.
b.
nread contains the number of characters in the stringnot includingthe null, and len contains the maximum number of characters getline may read from the standard input.
c.
nread contains the number of characters in the stringnot includingthe null, and len contains the size (in number of characters) of array line.
d.
nread contains the number of characters in the stringincludingthe null, and len contains the size (in number of characters) of array line.
Read the manual page for getline (man -s 3 getline). Also read the file playgetline.c. What does variable stdin stand for? Read the manual page for stdin
a.
This is a stream where digital fish are swimming.
b.
It is a stream which is another name for string.
c.
Nothing, really. Just means a stand-in for a missing variable (it is not needed here).
d.
This is a file but since we do not deal with any files it is not used here.
e.
It is the standard input.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started