diff options
Diffstat (limited to 'Fundamental_of_Computing_and_Programming_in_C/Chapter13.ipynb')
-rwxr-xr-x | Fundamental_of_Computing_and_Programming_in_C/Chapter13.ipynb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Fundamental_of_Computing_and_Programming_in_C/Chapter13.ipynb b/Fundamental_of_Computing_and_Programming_in_C/Chapter13.ipynb new file mode 100755 index 00000000..b303ee94 --- /dev/null +++ b/Fundamental_of_Computing_and_Programming_in_C/Chapter13.ipynb @@ -0,0 +1,57 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:bd4e511a3dbdd189491e3271c86cff9ce5fc919ed7457d400a67c288e55ad433" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 13 : Pointers" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example: 1, Page Number: 5.104" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Program to print address and value of variable\n", + "#Local definitions\n", + "sno = 39\n", + "\n", + "#Result\n", + "print \"Address of sno = %u\" %id(sno)\n", + "print \"Value of sno = %d\" %sno" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Address of sno = 20917296\n", + "Value of sno = 39\n" + ] + } + ], + "prompt_number": 7 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |