From 92cca121f959c6616e3da431c1e2d23c4fa5e886 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Tue, 7 Apr 2015 15:58:05 +0530 Subject: added books --- .../Chapter13.ipynb | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100755 Fundamental_of_Computing_and_Programming_in_C/Chapter13.ipynb (limited to 'Fundamental_of_Computing_and_Programming_in_C/Chapter13.ipynb') 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 -- cgit