A stack can be implemented only using array?if not what is used?
Answers were Sorted based on User's Feedback
stack is not always implemented using array's , it can also
be implemented through linked lists in DATA STRUCTURES,,,
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / bharat chandra
stack can implemented by Array(static)format and linked
lised (dynamic)formated.
| Is This Answer Correct ? | 0 Yes | 0 No |
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
how to print a statement in c without use of console statement ,with the help of if statement it should print
all c language question
Explain pointers in c programming?
What ios diff. Between %e & %f?
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
Can you subtract pointers from each other? Why would you?
What are the 32 keywords in c?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What is openmp in c?
what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }
Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.