Describe advantages and disadvantages of the various stock
sorting algorithms
Answer / amirtha
in stack we can use arrays.it is easy to implement.but the
push &pop can be done only at one postion.it has find
several real time applications like cars in a shed,no of
coins placed one above.
| Is This Answer Correct ? | 0 Yes | 29 No |
what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }
How can I swap two values without using a temporary?
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
Write a program on swapping (100, 50)
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Write a code on reverse string and its complexity.
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What is void main () in c?
what is op? for(c=0;c=1000;c++) printf("%c",c);
What is the use of getch ()?
How can you determine the size of an allocated portion of memory?
What is pass by reference in functions?