Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
Sophia804451
PPTX, PDF
14 views
Pointers in C programming second semester
Pointers in C programming second semester
Engineering
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 11
2
/ 11
3
/ 11
4
/ 11
5
/ 11
6
/ 11
7
/ 11
8
/ 11
9
/ 11
10
/ 11
11
/ 11
More Related Content
PPTX
C Programming Unit-4
by
Vikram Nandini
PPTX
pointers.pptx
by
s170883BesiVyshnavi
PPTX
Pointers and Array, pointer and String.pptx
by
Ananthi Palanisamy
PPTX
Pointers in C Programming
by
Jasleen Kaur (Chandigarh University)
PPT
pointers (1).ppt
by
Osmania University
PPTX
Pointers in C How to Use Pointers .pptx
by
balraj233251
PDF
PSPC--UNIT-5.pdf
by
ArshiniGubbala3
PPTX
Pointer in C
by
bipchulabmki
C Programming Unit-4
by
Vikram Nandini
pointers.pptx
by
s170883BesiVyshnavi
Pointers and Array, pointer and String.pptx
by
Ananthi Palanisamy
Pointers in C Programming
by
Jasleen Kaur (Chandigarh University)
pointers (1).ppt
by
Osmania University
Pointers in C How to Use Pointers .pptx
by
balraj233251
PSPC--UNIT-5.pdf
by
ArshiniGubbala3
Pointer in C
by
bipchulabmki
Similar to Pointers in C programming second semester
PPT
btech-1picu-5pointerstructureunionandintrotofilehandling-150122010700-conver.ppt
by
chintuyadav19
PPTX
Pointers and single &multi dimentionalarrays.pptx
by
Ramakrishna Reddy Bijjam
PPT
c program.ppt
by
mouneeshwarans
PPT
presentation_pointers_1444076066_140676 (1).ppt
by
georgejustymirobi1
PPTX
Pointers
by
Vardhil Patel
PPTX
Pointers in c - Mohammad Salman
by
MohammadSalman129
PPT
Pointers C programming
by
Appili Vamsi Krishna
PPT
Btech 1 pic u-5 pointer, structure ,union and intro to file handling
by
Rai University
PPT
pointer, structure ,union and intro to file handling
by
Rai University
PPT
pointer, structure ,union and intro to file handling
by
Rai University
PPT
Advanced pointers
by
Koganti Ravikumar
PPT
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
by
Rai University
PPT
Bsc cs 1 pic u-5 pointer, structure ,union and intro to file handling
by
Rai University
PPT
Diploma ii cfpc- u-5.1 pointer, structure ,union and intro to file handling
by
Rai University
PPTX
cp264_lecture05_c_pointers.ppt pointers and its fundamentals
by
snekeystudies
PPT
Lap trinh C co ban va nang cao
by
VietJackTeam
PPTX
4. chapter iii
by
Chhom Karath
PPTX
pointers_final.pptxxxxxxxxxxxxxxxxxxxxxx
by
assignmenthet
PPTX
Algoritmos e Estruturas de Dados - Pointers
by
martijnkuipersandebo
PPT
C Programming for Problem Solving programming Unit- 3
by
DrSamsonChepuri1
btech-1picu-5pointerstructureunionandintrotofilehandling-150122010700-conver.ppt
by
chintuyadav19
Pointers and single &multi dimentionalarrays.pptx
by
Ramakrishna Reddy Bijjam
c program.ppt
by
mouneeshwarans
presentation_pointers_1444076066_140676 (1).ppt
by
georgejustymirobi1
Pointers
by
Vardhil Patel
Pointers in c - Mohammad Salman
by
MohammadSalman129
Pointers C programming
by
Appili Vamsi Krishna
Btech 1 pic u-5 pointer, structure ,union and intro to file handling
by
Rai University
pointer, structure ,union and intro to file handling
by
Rai University
pointer, structure ,union and intro to file handling
by
Rai University
Advanced pointers
by
Koganti Ravikumar
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
by
Rai University
Bsc cs 1 pic u-5 pointer, structure ,union and intro to file handling
by
Rai University
Diploma ii cfpc- u-5.1 pointer, structure ,union and intro to file handling
by
Rai University
cp264_lecture05_c_pointers.ppt pointers and its fundamentals
by
snekeystudies
Lap trinh C co ban va nang cao
by
VietJackTeam
4. chapter iii
by
Chhom Karath
pointers_final.pptxxxxxxxxxxxxxxxxxxxxxx
by
assignmenthet
Algoritmos e Estruturas de Dados - Pointers
by
martijnkuipersandebo
C Programming for Problem Solving programming Unit- 3
by
DrSamsonChepuri1
More from Sophia804451
PPTX
pointer in c programming for second semester
by
Sophia804451
PPTX
module 1 research methodology and IPR for 5th sem students
by
Sophia804451
PPTX
Artificial intelligence for engineering student
by
Sophia804451
PPTX
Ansible_Presentation.pptx in devops 6th sem lab
by
Sophia804451
PPT
13 FAM - Justice.ppt harmony in family and society
by
Sophia804451
PPTX
Harmony_in_Society_Presentation in universal .pptx
by
Sophia804451
PPT
10 FAM - Harmony in the family the basic unit of human interaction
by
Sophia804451
PPTX
Maven_Introduction build automation tool
by
Sophia804451
PPTX
DevOps_Introduction.build automation tool
by
Sophia804451
PDF
Universal Human Values All 5 Unit Notes.pdf
by
Sophia804451
PPTX
geographical indication for engineering student
by
Sophia804451
PPT
finaltrademarks3-150209001036-conversion-gate02 (1).ppt
by
Sophia804451
PPT
storage area network for engineering students
by
Sophia804451
PPTX
internship presentation report abt ms word ms office and word
by
Sophia804451
PDF
image processing image enhancement and filtering
by
Sophia804451
PDF
DIGITAL image processing for 6th sem students
by
Sophia804451
pointer in c programming for second semester
by
Sophia804451
module 1 research methodology and IPR for 5th sem students
by
Sophia804451
Artificial intelligence for engineering student
by
Sophia804451
Ansible_Presentation.pptx in devops 6th sem lab
by
Sophia804451
13 FAM - Justice.ppt harmony in family and society
by
Sophia804451
Harmony_in_Society_Presentation in universal .pptx
by
Sophia804451
10 FAM - Harmony in the family the basic unit of human interaction
by
Sophia804451
Maven_Introduction build automation tool
by
Sophia804451
DevOps_Introduction.build automation tool
by
Sophia804451
Universal Human Values All 5 Unit Notes.pdf
by
Sophia804451
geographical indication for engineering student
by
Sophia804451
finaltrademarks3-150209001036-conversion-gate02 (1).ppt
by
Sophia804451
storage area network for engineering students
by
Sophia804451
internship presentation report abt ms word ms office and word
by
Sophia804451
image processing image enhancement and filtering
by
Sophia804451
DIGITAL image processing for 6th sem students
by
Sophia804451
Recently uploaded
PDF
Workshop practice theory course (Unit-1) By Varun Pratap Singh.pdf
by
Varun Pratap Singh
PDF
Fluid Mechanics & Hydraulic Digital Material.pdf
by
sparunkumar1
PPTX
ATD.pptx traction distribution railway atd
by
khuranarahul599
PPTX
hydrology and unit hydrograph presents.pptx
by
p26335566
PPTX
Joseph Hill Honors Thesis Presentation 2024
by
JoeHill71
PPTX
Planning and selection of equipment for different mining conditions. Equipmen...
by
gugulothuakhil728
PDF
HYDRAULIC TURBINES with question and answer .pdf
by
sparunkumar1
PDF
Decarbonizing Healthcare: Exploring the Potential for Electrification with IESVE
by
IES VE
PDF
Rail Business Magazine July-August 2025An article by Rajesh Prasad.pdf
by
Rajesh Prasad
PPT
Verilog - FPGA data path controller Design Sequential circuit FSM based
by
kirtipfraoa
PPT
Behavioral Modeling using Verilog and combinational or sequential circuit
by
kirtipfraoa
PDF
13 Malpractices In Bunkering Operations Seafarers Should Be Aware Of
by
Mahmoud Moghtaderi
PDF
Uses of LARSA - 4D and LUSAS IRICEN 14.10.25.pdf
by
Rajesh Prasad
PDF
HYDRAULIC TURBINES with question and answer.pdf
by
sparunkumar1
PDF
Strengthening Your Facility with a Robust Electrical Safety Audit
by
VB Group
PDF
MODULE FOUR THEODOLITE SURVEY SY CIVIL 5449
by
Dr. BASWESHWAR JIRWANKAR
PDF
Modularity In Lyra - A new studio's experiences building their prototype on U...
by
patrickcastillo41
PPTX
Introduction to Relational Algebra Advance Database Part three.pptx
by
williamsmareh
PDF
HEDCO-FIRED-HEATERS Basics and Operation
by
RobertWaters35
PDF
Alfa Laval Pump Handbook - Second Edition 2023
by
Mahmoud Moghtaderi
Workshop practice theory course (Unit-1) By Varun Pratap Singh.pdf
by
Varun Pratap Singh
Fluid Mechanics & Hydraulic Digital Material.pdf
by
sparunkumar1
ATD.pptx traction distribution railway atd
by
khuranarahul599
hydrology and unit hydrograph presents.pptx
by
p26335566
Joseph Hill Honors Thesis Presentation 2024
by
JoeHill71
Planning and selection of equipment for different mining conditions. Equipmen...
by
gugulothuakhil728
HYDRAULIC TURBINES with question and answer .pdf
by
sparunkumar1
Decarbonizing Healthcare: Exploring the Potential for Electrification with IESVE
by
IES VE
Rail Business Magazine July-August 2025An article by Rajesh Prasad.pdf
by
Rajesh Prasad
Verilog - FPGA data path controller Design Sequential circuit FSM based
by
kirtipfraoa
Behavioral Modeling using Verilog and combinational or sequential circuit
by
kirtipfraoa
13 Malpractices In Bunkering Operations Seafarers Should Be Aware Of
by
Mahmoud Moghtaderi
Uses of LARSA - 4D and LUSAS IRICEN 14.10.25.pdf
by
Rajesh Prasad
HYDRAULIC TURBINES with question and answer.pdf
by
sparunkumar1
Strengthening Your Facility with a Robust Electrical Safety Audit
by
VB Group
MODULE FOUR THEODOLITE SURVEY SY CIVIL 5449
by
Dr. BASWESHWAR JIRWANKAR
Modularity In Lyra - A new studio's experiences building their prototype on U...
by
patrickcastillo41
Introduction to Relational Algebra Advance Database Part three.pptx
by
williamsmareh
HEDCO-FIRED-HEATERS Basics and Operation
by
RobertWaters35
Alfa Laval Pump Handbook - Second Edition 2023
by
Mahmoud Moghtaderi
Pointers in C programming second semester
1.
Pointers in C
2.
Introduction to Pointers •
Holds the address of another variable. • Advantages: efficient arrays, multiple return values, dynamic memory, linked structures, faster execution. • Disadvantage: program may crash if memory unavailable. • Operators: & (address), * (dereference).
3.
Declaring a Pointer Syntax:
data_type *ptr_name; Examples: int *p; float *temp; int x=10; int *ptr=&x; printf("%d", *ptr);
4.
Program: Basic Pointer
Usage #include<stdio.h> void main() { int x=99; int *ptr=&x; printf("Value = %dn", *ptr); printf("Address = %pn", ptr); } Output: Value = 99 Address = 0x7ffd...
5.
Program: Add 2
Floats #include<stdio.h> void main() { float n1,n2,sum=0.0; float *p1=&n1,*p2=&n2,*ps=∑ scanf("%f,%f",p1,p2); *ps=*p1+*p2; printf("%f+%f=%f",*p1,*p2,*ps); } Output: 3.2+2.3=5.5
6.
Program: Positive/Negative #include<stdio.h> void main()
{ int num,*p=# scanf("%d",p); if(*p>0) printf("Positive"); else if(*p<0) printf("Negative"); else printf("Equal"); }
7.
Null Pointers Special value
points nowhere. int *ptr=NULL; if(ptr==NULL){ /* safe */ }
8.
Generic (Void) Pointers Can
point to any type. void *gp; int x=10; char c='A'; gp=&x; printf("%d",*(int*)gp); gp=&c; printf("%c",*(char*)gp);
9.
Passing Arguments to
Functions • Pass addresses to functions. • Function dereferences pointers to modify caller’s vars. Example: swap, sum, largest number.
10.
Program: Sum of
Two Integers #include<stdio.h> void sum(int *a,int *b,int *t){ *t=*a+*b; } int main(){ int n1,n2,t; scanf("%d,%d",&n1,&n2); sum(&n1,&n2,&t); printf("Total=%d",t); }
11.
Applications of Pointers •
Arrays & Strings • Function Pointers • Structures • File Handling • Efficient Parameter Passing • Dynamic Data Structures • Callback Functions
Download