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, 22.06.2019 00:00
11. is the ability to understand how another person is feeling. a. authority b. sympathy c. empathy d. taking a stand
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What statement best describes operating systems? it’s possible for modern computers to function without operating systems. most operating systems are free or very inexpensive. operating systems are managed by the computer’s microprocessor (cpu). operating systems manage the computer’s random access memory (ram).
Answers: 1
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
You know the right answer?
The following is defined for this question struct entry
{
int num;
entry * nex...
Questions
question
Mathematics, 14.12.2020 22:30
question
Advanced Placement (AP), 14.12.2020 22:30
question
History, 14.12.2020 22:30
Questions on the website: 13722360