Write a C Program to display the following menu: Menu 1. Display 2. Copy 3. Append 4. Exit Accept the choice (1-4) from the user, and perform the following tasks: Choice 1: Accept a file name from the user and display the file on screen Choice 2: Accept two file names, and copy first file to the second Choice 3: Accept two file names, and append second file to the first file Choice 4: Terminate the program
1 11365Write a program to give following output..... ********* **** **** *** *** ** ** * * ** ** *** *** **** **** *********
4 5682
Why calloc is better than malloc?
What are the differences between new and malloc in C?
What happens if you free a pointer twice?
What is #include stdlib h?
How many levels of indirection in pointers can you have in a single declaration?
Why do we use header files in c?
How can I do graphics in c?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Define Spanning-Tree Protocol (STP)
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
develop algorithms to add polynomials (i) in one variable
Array is an lvalue or not?
What is the purpose of type declarations?
Explain what is wrong with this program statement?