Docsity

Programming Fundamentals Lab Assignments: Introduction to Pointers, Exercises of C programming

Partial preview of the text

Download Programming Fundamentals Lab Assignments: Introduction to Pointers and more Exercises C programming in PDF only on Docsity!

Second Semester

Course Title:

Programming Fundamentals

Topic:

Lab Assignments

Submitted To:

Engr. Salman Arain

Submitted By:

Hafeez Ali

Roll.No:

18-ELE-

Reg.#:

2018-UET-NFC-FD-ELECT-

NFC Institute of Engineering&Fertilizer

Research Faisalabad

Department of Electrical Engineering

Lab.No.

INTRODUCTION TO POINTERS

Task#

Initialize the variable a=10 and demonstrate the use of * and & with respect to pointers.

Input:

Output:

Task#

Initialize three pointer variables and find the position (address) of the numbers using pointers.

Input:

Output: