Skip to content

Instantly share code, notes, and snippets.

View kgashok's full-sized avatar
🎯
Focusing

Ashok Bakthavathsalam kgashok

🎯
Focusing
View GitHub Profile
@kgashok
kgashok / variableSizeAndRange.md
Last active November 27, 2016 15:07
CheatSheetForSizeOfVariablesInC.md

For a HTML version, visit this link here

[TOC]

Data Types

There are four data types in C language. They are,

@kgashok
kgashok / sizeof.html
Last active November 27, 2016 15:07
CheatSheetForSizeOfVariablesInC.md
<p>For a HTML version, visit this link <a href="https://rawgit.com/kgashok/b7ce940e098fb3a6e69b9dc9dbb8dc13/raw/d360bdc343919bf235fdaf18a4c7908bb8899e30/sizeof3.html">here</a></p>
<p><div class="toc">
<ul>
<li><ul>
<li><ul>
<li><a href="#data-types">Data Types</a></li>
<li><a href="#types-specifiers-and-qualifiers">Types, Specifiers and Qualifiers</a></li>
<li><a href="#valid-combinations">Valid combinations</a></li>
<li><a href="#minimum-type-limits">Minimum Type Limits</a><ul>
@kgashok
kgashok / sizeof2.html
Last active November 27, 2016 15:07
CheatSheetForSizeOfVariablesInC.md
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CheatSheetForSizeOfVariablesInC.md</title>
<link rel="stylesheet" href="https://stackedit.io/res-min/themes/base.css" />
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
</head>
<body><div class="container"><p>For a HTML version, visit this link <a href="https://rawgit.com/kgashok/b7ce940e098fb3a6e69b9dc9dbb8dc13/raw/d360bdc343919bf235fdaf18a4c7908bb8899e30/sizeof3.html">here</a></p>
@kgashok
kgashok / sizeof3.html
Last active November 27, 2016 15:07
CheatSheetForSizeOfVariablesInC.md
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CheatSheetForSizeOfVariablesInC.md</title>
<link rel="stylesheet" href="https://stackedit.io/res-min/themes/base.css" />
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
</head>
<body><div class="container"><p>For a HTML version, visit this link <a href="https://rawgit.com/kgashok/b7ce940e098fb3a6e69b9dc9dbb8dc13/raw/d360bdc343919bf235fdaf18a4c7908bb8899e30/sizeof3.html">here</a></p>
@kgashok
kgashok / ideoneImport.html
Last active November 27, 2016 17:24
ideoneImport.html
<html>
<head>
<style>
div.ex1 {
width:500px;
margin: auto;
border: 3px solid #73AD21;
}
div.ex2 {
@kgashok
kgashok / swapQuiz.md
Last active December 1, 2016 12:38
swapQuiz.md
@kgashok
kgashok / fileOperations.html
Last active December 5, 2016 17:56
fileOperations.md
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>fileOperations.md</title>
<link rel="stylesheet" href="https://stackedit.io/res-min/themes/base.css" />
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
</head>
<body><div class="container"><h3 id="table-of-contents">Table of Contents</h3>
@kgashok
kgashok / recursiveFunc.md
Last active January 2, 2017 05:26
recursiveTutorial.md

Table of Contents

Take a look at the http://j.mp/rHTML version for Table Of Contents.

[TOC]

Why Recursion? - Pros and Cons

Some programs and/or computer algorithms are more readable, concise and less error prone when implemented as recursive calls. The downside: low performance and high memory usage, especially when there are innumerable recursive calls, sometimes resulting in memory overflow conditions on the stack.

@kgashok
kgashok / recursive.html
Last active December 5, 2016 21:54
palindromesKeys.md
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>palindromesKeys.md</title>
<link rel="stylesheet" href="https://stackedit.io/res-min/themes/base.css" />
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
</head>
<body><div class="container"><h2 id="table-of-contents">Table of Contents</h2>
@kgashok
kgashok / recursive.html
Last active January 2, 2017 05:26
recursiveTutorial.md
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>recursiveTutorial.md</title>
<link rel="stylesheet" href="https://stackedit.io/res-min/themes/base.css" />
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
</head>
<body><div class="container"><h2 id="table-of-contents">Table of Contents</h2>