Important Questions [7]
- What is Pointer? Explain How the Pointer Variable Declared and Initialized.
- Select the Correct Option from Multiple Choice Question.Void Main() {Char A[]= “Hello World”;Char *P;P=A;Printf(“\N%D%D%D%D”,Sizeof(A),Sizeof(P),Strlen(A),Strlen(P) ); }
- State True Or False with Reason.Size of Pointer Variable is Equal to the Datatype It Points To.
- State True Or False with Reason.The Statement Void P; is Valid.
- Explain Need of File Data and Various Modes of Files Also Write Program to Create Edit Copy of File.
- Explain File Handling in C in Details.[Note: Mention File Type, File Modes, File Related Functions and Its Use)
- Why Files Are Needed? Explain All the Opening Modes. Write a Program to Create Copy of the User Specify Names of Source and Destination Files.
