:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Programming Languages >> C


 C interview questions  C Interview Questions (2264)
 C++ interview questions  C++ Interview Questions (1119)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (648)
Write a C Program to display the following 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 
Choice 3: Accept two file names, and append second file to 
the first file
Choice 4: Terminate the program
 Question Submitted By :: C
I also faced this Question!!     Answer Posted By  
# 1
Using command line opereators we can do this 
Is This Answer Correct ?    10 Yes 11 No

Other C Interview Questions
  Question Asked @ Answers
program for swapping two strings by using pointers in c language   1
find the minimum of three values inputted by the user   3
pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words ) Persistent 2
write a C code To reverse a linked list Motorola 2
design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.   2
what is the difference between char * const and const char *? TCS 2
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }   2
write a program to compare 2 numbers without using logical operators? IBM 5
To find whether a number is even or odd without using any conditional operator?? IBM 11
What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack   6
what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable. HCL 6
For more C Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::