<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Asrifa Fathima on Medium]]></title>
        <description><![CDATA[Stories by Asrifa Fathima on Medium]]></description>
        <link>https://medium.com/@asrifafathima378?source=rss-9958858b1b6c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YLQOt02o-mQTQcwEqzdeTA.jpeg</url>
            <title>Stories by Asrifa Fathima on Medium</title>
            <link>https://medium.com/@asrifafathima378?source=rss-9958858b1b6c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:26:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@asrifafathima378/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[DATA TYPE  IN C++]]></title>
            <link>https://medium.com/@asrifafathima378/data-type-in-c-e428c064f942?source=rss-9958858b1b6c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e428c064f942</guid>
            <category><![CDATA[data-types-in-c-plus-plus]]></category>
            <dc:creator><![CDATA[Asrifa Fathima]]></dc:creator>
            <pubDate>Mon, 03 Oct 2022 05:24:05 GMT</pubDate>
            <atom:updated>2022-10-04T08:21:34.439Z</atom:updated>
            <content:encoded><![CDATA[<h3>DATA TYPE IN C++</h3><p><strong>What is the data type in c++ ?</strong></p><p><strong>⁕</strong> Data type is a type of data which is used in the program . And its also called as it is used to declare a variable.<br> That variable can store such as integer, floating , character etc.</p><p>C<strong>++ have two main data types </strong><br>1. <strong>fundamental of data types</strong><br> ✓ This is a very basic data types. Its all so called a primitive data type .A derived data type is a subset of the underlying data type.</p><p>2. <strong>User defined data type</strong><br> ✓ As users we can define data types. These data types defined by the user referred to as user- defined data types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*-WGNDPFZ_w-HPYvyRJ_2Ig.jpeg" /></figure><ol><li><strong>short</strong><br>• used for small integers<br>• its size 2 bytes<br>• its range -32 ,768 to 32 ,767</li><li><strong>Int ( integer )<br>. </strong>used for stores integers and whole numbers, without decimals<br>• size = 4 bytes<br>• range = -2 147, 483, 648 to 2, 147 ,483 ,647<br>Eg ⁙ int x = 10 , y = 37</li><li>F<strong>loat<br> </strong>• used to stores a real number with 7 digits of single precision floating <br> point<br> • size = 4 bytes<br> Eg ⁙ Float num = 4.78</li><li><strong>double<br>. </strong>used to stores fractional numbers, a real number with 15 digits of double precision floating point numbers, with decimals<br><strong>. </strong>size = 4 bytes<br> Eg ⁙ double pnum = 26.13</li><li><strong>bool ( boolean )<br>. </strong>boolean data type is stores values with two states<br> → True<br> → False<br>• when the value is true = 1 ,false = 0<br>• size = 1 byte<br> Eg ⁙ bool isclasstoday = True ; <br> bool isfirstprogram = False ;</li><li><strong>Char ( character )<br>. </strong>This variable use to stores a single character / number<br>• char values are surrounded by single quotes such as ‘ a ’ or ‘ A ’<br>• size = 1 byte<br>• range = -128 to 127 <br> Eg ⁙ char vowel = ‘ a ’<br> char upgrade = ‘ A ’</li><li><strong>string <br></strong>• one of the most useful data types supplied in the c++ libraries is the string<br>• A string is a variable that stores a sequence of letter / other characters<br>• To use strings , you must include an additional header file in the source code , the &lt;string&gt; library<br>Eg ⁛ #include &lt;string&gt;<br> String first_name = “ Asrifa ”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*__W6-WlBJ0nuT0tYfWOoPw.jpeg" /><figcaption>data type programing</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*NHoxgD6Awusg3ERd-diHug.jpeg" /><figcaption>data type programing output</figcaption></figure><p>⁙ summery of data types</p><p>• Data types are an essential part of any programming language.<br> • The data type declares the type and size of data that a variable can store.<br> • In c++ data types are broadly classified into basic and user-defined data types <br>• These basic data types can be modified using modifiers in c++.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e428c064f942" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>