0% found this document useful (0 votes)
14 views1 page

Course Cls-113 (Computer Programming Lab) TERM: FALL 2020, CLASS:BS (IT) 1 (A) Assignment No#13

The document describes two programming assignments. The first asks the user to enter integers for variables a and b, assign those values to pointers ptrA and ptrB, and display the results. The second asks the user to enter a value into a variable and display the same value using a pointer.

Uploaded by

Faraz M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

Course Cls-113 (Computer Programming Lab) TERM: FALL 2020, CLASS:BS (IT) 1 (A) Assignment No#13

The document describes two programming assignments. The first asks the user to enter integers for variables a and b, assign those values to pointers ptrA and ptrB, and display the results. The second asks the user to enter a value into a variable and display the same value using a pointer.

Uploaded by

Faraz M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

COURSE CLS-113(COMPUTER

PROGRAMMING LAB)
TERM: FALL 2020, CLASS :BS(IT) 1(A)
ASSIGNMENT NO#13
Submitted By: FARAZ EN-NO 02-235202-035
Submitted to: Engr:Maam Ambreen Akram
02/01/2021
ex#01
Write a program that asks the user to enter integers as inputs to be stored in the variables 'a'
and 'b' respectively. There are also two integer pointers named ptrA and ptrB. Assign the
values of 'a' and 'b' to ptrA and ptrB respectively, and display them.

ex#02
Take input in variable and display same value by pointer.

You might also like