

DS LL
Presentation
•
Computers
•
Professional Development
•
Medium
Thirumoorthy Rathinakumar
Used 1+ times
FREE Resource
1 Slide • 1 Question
1
DS LL
by Thirumoorthy Rathinakumar
2
Multiple Choice
#include<stdio.h>
#include<stdlib.h>
struct node
{
int data;
struct node *next;
}*head=NULL;
int main()
{
struct node *node1;
node1=malloc(sizeof(struct node));
node1->data = 10;
struct node *node2;
node2=malloc(sizeof(struct node));
node2->data = 20;
struct node *node3;
node3=malloc(sizeof(struct node));
node3->data = 30;
struct node *node4;
node4=malloc(sizeof(struct node));
node4->data = 40;
head = node1;
node1->next = node2;
node2->next = node3;
node3->next = node4;
node4->next = NULL;
struct node *temp;
temp = head;
while(temp != NULL)
{
printf("%d-->",temp->data);
temp = temp->next;
}
printf("NULL");
return 0;
}
Output:
10-->20-->30-->40-->NULL
Output:
10-->20-->30-->40
Output:
NULL
Output:
10
DS LL
by Thirumoorthy Rathinakumar
Show answer
Auto Play
Slide 1 / 2
SLIDE
Similar Resources on Wayground
5 questions
Underwriting Refresher
Presentation
•
Professional Development
7 questions
Mastery Peak_Enny
Presentation
•
Professional Development
7 questions
테스트 3
Presentation
•
Professional Development
3 questions
Informatika
Presentation
•
10th Grade
4 questions
face
Presentation
•
Professional Development
4 questions
Ice Breaker - Welding Programme
Presentation
•
University - Professi...
4 questions
Untitled Lesson
Presentation
•
KG - University
6 questions
restriçâo
Presentation
•
Professional Development
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade