For the below mention C statement, what is your comment?
signed int *p=(int*)malloc(sizeof(unsigned int));
signed int *p=(int*)malloc(sizeof(unsigned int));
Anonymous Quiz
22%
Would throw Runtime error
33%
Improper typecasting
27%
int value in the memory
18%
No problem with the statement
π1
π1
What differentiates a circular linked list from a normal linked list?
Anonymous Quiz
60%
You cannot have the βnextβ pointer point to null in a circular linked list
10%
It is faster to traverse the circular linked list
24%
In a circular linked list, each node points to the previous node instead of the next node
7%
Head node is known in circular linked list
Explanation:
In a normal linked list, the βnextβ pointer of the last node points to null. However, in a circular linked list, the βnextβ pointer of the last node points to the head (first element) of the list. Every node in a circular linked list can be a starting point(head).
In a normal linked list, the βnextβ pointer of the last node points to null. However, in a circular linked list, the βnextβ pointer of the last node points to the head (first element) of the list. Every node in a circular linked list can be a starting point(head).
π1