Archive for c language extra questions
You are browsing the archives of c language extra questions.
You are browsing the archives of c language extra questions.
21. What is the full form of CMM (a) Capability Maturity Model (b) Cost Maintainance Model (c) Capability maintainance model (d) Cost Maturity Model Ans:A 22. Sorting is not possible by using which of the following methods? (a) Insertion (b) Selection (c) Exchange (d) Deletion Ans:D 23. What are the methods available in storing sequential [...]
1. What type of memory could be accessed in least time? (a)cache memory (b)secondary memory (c)main memory (d)none Ans:A 2. void main() { int const * p=5; printf("%d",++(*p)); } What is the output? (a) 6 (b) 5 (c) Compiler error (d) Run time error Ans :c 3. main() { [...]
1.What is data structure? A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.. 2. List out the areas in which data structures are [...]
Data Structure – Exam Oriented Material Must Read Before Examination 1. What is data structure? A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of [...]
/*insert subtree*/ #include<stdio.h> #include<conio.h> struct rec { long num; struct rec *left; struct rec *right; }; struct rec *tree=NULL; struct rec *insert(struct rec *tree,long num); void *exchange(struct rec *tree); struct rec *temp; void main() { struct rec *tree=NULL; int choice; long digit; do { choice=select(); switch(choice) { case 1: puts("Enter integer: To quit enter 0"); [...]