|
Question |
Rating |
View Answer |
|
program to print diamond shape
|
|
View Answer |
|
How do you sort names using circular linked list in c like sorting names after every insertion? |
|
View Answer |
|
Whats is structure padding?Say a given structure Struct{ int a; char c; float d; } the size of structure is 7 here. But structure padding is done what will be the size of the struct?Will it change and how?How to avoid this?is it necessary?
|
|
View Answer |
|
Can we use functions within a structure? |
|
View Answer |
|
How can we check whether the contents of two structure variables are same or not? |
|
View Answer |
|
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
|
|
View Answer |
|
How can I sort a linked list? |
|
View Answer |
|
union u { union u { int i; int j; }a[10]; int b[10]; }u; main() { printf("n%d", sizeof(u)); printf(" %d", sizeof(u.a)); // printf("%d", sizeof(u.a[4].i)); }
|
|
View Answer |
|
What is the stack?
|
|
View Answer |
|
c program for delete a node from linked list
|
|
View Answer |
|
What is Preprocessor?
|
|
View Answer |
|
How to perform matrix multiplication using Double linked lists?
|
|
View Answer |
|
struct Foo { char *pName; }; main() { struct Foo *obj = malloc(sizeof(struct Foo)); clrscr(); strcpy(obj->pName,"Your Name"); printf("%s", obj->pName); }
|
|
View Answer |
|
What is the implicit name of the parameter that gets passed into the class set method? |
|
View Answer |
|
How do display the list in single linked list form last to first?
|
|
View Answer |
|
What is a C-preprocessor? |
|
View Answer |
|
How to break cycle in circular single link list?
|
|
View Answer |
|
What are bit fields?What is the use of bit fields in a structure declaration? |
|
View Answer |
|
How would you qsort() function to sort an array of structures? |
|
View Answer |