Skip to content

Instantly share code, notes, and snippets.

@Impermenance-2021
Last active March 7, 2024 12:12
Show Gist options
  • Save Impermenance-2021/ea9238e1e8263bf997519357835af55b to your computer and use it in GitHub Desktop.
Save Impermenance-2021/ea9238e1e8263bf997519357835af55b to your computer and use it in GitHub Desktop.
Day_0. Practice Code - Demonstration of Pointers
#include <stdio.h>
int main()
{
int num = 10;
int * ptr;
/* Stores the address of num to pointer type */
ptr = &num;
printf("Address of num = %d\n", &num);
printf("Value of num = %d\n", num);
printf("Address of ptr = %d\n", ....);
printf("Value of ptr = %d\n", ....);
printf("Value pointed by ptr = %d\n", ....);
return 0;
}
//Challenge - Fill out the missing places in the above code and solve it. Hint - *ptr, ptr and &ptr
@aayushibhansali
Copy link

20BTRCM002 - AAYUSHI BHANSALI

@lisshu96
Copy link

#20BTRCI030 - LISSHUTHARAN SEGARAN

@CharuCA
Copy link

CharuCA commented Aug 14, 2021

20BTRCM003-Charu C A

@aayushibhansali
Copy link

20BTRCM002 - AAYUSHI BHANSALI

@POLVVEENA
Copy link

20BTRCM028-POLVVEENA GANGAYA

@yogi7654
Copy link

20BTRCMO12

@YohanesGetinet1
Copy link

20BTRCM031
Yohanes Getinet Nuriyea

@Michelle-Mathews
Copy link

20BTRCI015-Michelle Mathews

@theaaryaveer
Copy link

20BTRCM030- Yogesh Kumar Shah

@Yousif777-S
Copy link

20BTRCI034

YOUSIF ELAMIN

@ashmathur91
Copy link

USN - Ashwini Mathur

@pavankumar8076
Copy link

20BTRCI006-PAVAN KUMAR

@Zid728
Copy link

Zid728 commented Aug 14, 2021

20BTRCI024 - Shaik.majeed

Copy link

ghost commented Aug 14, 2021

20BTRCM029 - Pratishtha Shah

@yarulj
Copy link

yarulj commented Aug 14, 2021

20BTRCI023-YARUL JAIN

@HemanthDx
Copy link

20BTRCI033

@hiimvikash
Copy link

hiimvikash commented Aug 14, 2021

20BTRCI021 - Vikash Gupta
Hi

Copy link

ghost commented Aug 14, 2021

20BTRCI012-Keshav Gupta

@knoxhunter03
Copy link

20BTRCI002 - A. Mangalam Kallo

@kamisettyjayesh07
Copy link

20btrcm004-kamisetty Jayesh

@Impermenance-2021
Copy link
Author

Those who like the challenge #Add a star to gist, so I can share with other students.

@surya29s
Copy link

20BTRCI018-SURYA.S

@aditya1abhinav
Copy link

20BTRCM001 - ADITYA ABHINAV

@Harn1sH
Copy link

Harn1sH commented Aug 14, 2021

20BTRCI027-HARNISH.M.R

@20btrcm017
Copy link

20BTRCM017_Ahmad Khalid Mayar

Copy link

ghost commented Aug 15, 2021

20BTRCM021- MD. TANVIR HOSSAIN

@tanvirshajid
Copy link

20BTRCM021-MD. TANVIR HOSSAIN

@AryanAgg17
Copy link

20BTRCI004-Aryan Aggarwal

@MariaPresanna
Copy link

20BTRCI008___Maria Presanna

@AYUSHCTIS
Copy link

20BTRCI005- AYUSH CTIS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment