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
What is oops c?
What does do in c?
Can a pointer be volatile in c?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
Explain what is the benefit of using #define to declare a constant?
What are the advantages of Macro over function?
What are control structures? What are the different types?
what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }
What is the scope of an external variable in c?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Is main a keyword in c?
What is the difference between a free-standing and a hosted environment?