subject
Computers and Technology, 30.07.2020 17:01 rhill5

The following is defined for this question struct entry
{
int num;
entry * next;
};
entry * head, * cur, * pent;
int n = 5, cnt=0;
pent = new entry;
pent->num = 7;
pent->next = NULL;
for (cur=head;cur!=NULL;cur=cur->nex t)
{
if (cur->num >= n)
break;
cnt++;
}
cout << cnt< If entry, cur, head, num and cnt are defined as earlier and head points to a linked list of numbers, the above code displays
a. The total number of entries in the linked list if head is pointing to an ordered linked list.
b. The total number of entries which has a number less than n if head is pointing to an ordered linked list.
c. The total number of entries which has a number less than n.
d. The total number of entries which has a number greater than n.
e. The total number of entries which has a number greater than n if head is pointing to an ordered linked list.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 15:40
Most networking media send data using in which data is represented by only two discrete states: 0s and 1s. a. digital signals b. contiguous signals c. ramp signals d. exponential signals
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
Is a type of bullying that takes place when a person intentionally posts negative information about another person that is not true.
Answers: 2
question
Computers and Technology, 25.06.2019 00:30
Which type of cell references are locked and not automatically updated when it’s copied a)formula b)relative c)absolute d)worksheet
Answers: 1
You know the right answer?
The following is defined for this question struct entry
{
int num;
entry * nex...
Questions
question
Mathematics, 29.06.2019 21:30
question
Mathematics, 29.06.2019 21:30
question
History, 29.06.2019 21:30
question
History, 29.06.2019 21:30
Questions on the website: 13722363