https://www.youtube.com/playlist?list=PLKK11Ligqitg9MOX3-0tFT1Rmh3uJp7kA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def check_permission(super_user): | |
try: | |
assert(super_user) | |
print("\nYou are a super user\n") | |
except AssertionError: | |
print(f"\nNot a Super User!!!\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void print_number(int* somePtr) { | |
if (somePtr != NULL) | |
printf ("%d\n",*somePtr); | |
// else do something | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void print_number(int* somePtr) { | |
assert (somePtr!=NULL); | |
printf ("%d\n",*somePtr); | |
} |
NewerOlder