0% found this document useful (0 votes)
3 views38 pages

C Programming: Pointers and File Handling

The document provides an overview of C programming concepts, focusing on pointers, their initialization, and operations such as reversing a string and swapping numbers using pointers. It also discusses function calls by value and reference, dynamic memory functions, and file handling in C, including text and binary files. Additionally, it includes questions and answers related to these topics for better understanding.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views38 pages

C Programming: Pointers and File Handling

The document provides an overview of C programming concepts, focusing on pointers, their initialization, and operations such as reversing a string and swapping numbers using pointers. It also discusses function calls by value and reference, dynamic memory functions, and file handling in C, including text and binary files. Additionally, it includes questions and answers related to these topics for better understanding.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

C PROGRAMMING

ONLINE CRASH
PYQ: What do you meant by a pointer variable?
PYQ:HOW IS IT INITIALIZED
data_type *pointer_name;
pointer_name = &variable_name;
PYQ: DIFFERENTIATE BETWEEN &,*
.
.
.
Write a C Program to reverse a string using
pointers
Write a C Program to swap two numbers using
pointers
F
•,

A B TEMP
PYQ:
Pyq:
Pyq :What is pointer increments
FUNCTION CALL
M

• CALL BY CALL BY
VALUE REFERENCE
,
CALL BY VALUE
,
CALL BY REFERENCE
, P
Y
Q
FUNCTIONS OF DYNAMIC MEMORY
FILES
C supports two main type of files
• Text files
• Binary files
,
TO WRITE IN A FILE
File modes
IN BUILT FILE HANDLING FUNCTIONS
,
.
.

THANKYOU

You might also like