Recent questions in Programming and DS

0 votes
1 answer
5022
0 votes
1 answer
5023
Why C language does not provide heap or garbage collection ?? Is there any higher level mechanism??
2 votes
3 answers
5024
Why linked list not suitable for binary search?
1 votes
1 answer
5025
Explanation pls ? void main(){ float a; a=6.7; if(a==6.7) printf("A"); else printf("B"); }
0 votes
3 answers
5026
int main(){ int a; a = 1; while(a >= 1) while(a >= 0); printf("%d", a); }
0 votes
1 answer
5027
0 votes
3 answers
5028
0 votes
1 answer
5029
What is the difference between struct node* head= NULL and struct node* head= (struct node*)NULL ?
1 votes
3 answers
5031
What is the difference when I write in program mynode * head; add_node(&head,10); add_node( struct node head, into value);To this mynode *head; add_node (head,10); add_...
0 votes
2 answers
5032
what is function in c pragramming to take mod of number in c ie. |-15|=15
0 votes
2 answers
5033
Under which of the following conditions, the size of an one-dimensional array need to be specified ?a) when initialization is a part of definitionb) when it is a declarat...
1 votes
1 answer
5034
void fun(int *p) { int q = 10; p = &q; } int main() { int r = 20; int *p = &r; fun(p); printf("%d", *p); return 0; }
0 votes
1 answer
5036
How many real links are required to store a sparse matrix of 10 rows , 10 columns ,and 15 non zeros entries.(pick up the closest answer)
0 votes
0 answers
5037
0 votes
1 answer
5038
0 votes
2 answers
5039
0 votes
2 answers
5040