<?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 Mohamedasrith on Medium]]></title>
        <description><![CDATA[Stories by Mohamedasrith on Medium]]></description>
        <link>https://medium.com/@mohamedasrith118?source=rss-b87d2b9777a7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*f2OL4rLF3blTTymQ</url>
            <title>Stories by Mohamedasrith on Medium</title>
            <link>https://medium.com/@mohamedasrith118?source=rss-b87d2b9777a7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:22:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mohamedasrith118/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[What's the C++:-]]></title>
            <link>https://medium.com/@mohamedasrith118/whats-the-c-f0fbc3f4bc7c?source=rss-b87d2b9777a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0fbc3f4bc7c</guid>
            <dc:creator><![CDATA[Mohamedasrith]]></dc:creator>
            <pubDate>Wed, 05 Oct 2022 17:17:42 GMT</pubDate>
            <atom:updated>2022-10-05T17:17:42.398Z</atom:updated>
            <content:encoded><![CDATA[<p>What&#39;s the C++:-</p><p>////<br>C++ is a general-purpose Object-Oriented Programming (OOP) language developed by Bjarne Stroustrup. C++ is a middle-level programming language and an extension of the C language. C++ runs on different operating platforms such as Windows, Macintosh OS, and different versions of unix..///<br> <br>///Two data typ in c++ ///<br>1.foundamentel data types</p><p>2.user definite data type</p><p>1.///Foundamentel data types :-<br>These data types are built-in or predefined data types and can be used directly by the user to declare variables.</p><p>#example: int, char, float, bool, etc. Primitive data types available in C++ are</p><p>1....Short:-<br>It is used for small integers, Its size is 2 bytes, Its range is -32768 to 32767.</p><p>2....integer<br>The keyword used for integer data types is int. This is use for integers and Stores whole numbers, without decimals its size is 4 bytes. Its range is -2,147,483,648 to 2,147,483,647.</p><p>For example code:-</p><p>[#include &lt;iostream&gt;<br>Uning namespace person;</p><p>int main () {<br>Int pernum=1000;<br>Count&lt;&lt; pernum;<br>return 0;<br>}]✓</p><p>3....flot:-<br>It is used for Stores fractional numbers, containing one or more decimals. Sufficient for storing 7 decimal digits, Its size is 4 bytes.</p><p>Ex code:-[<br>#include &lt;iostream&gt;<br>Uning namespace person;</p><p>int main () {<br>Flot pernum=4.25;<br>Count&lt;&lt; pernum;<br>return 0;<br>}]</p><p>4....double:-<br>It is used for Stores fractional numbers, containing one or more decimals. Sufficient for storing 15 decimal digits, Its size is 8 bytes.</p><p>Ex code:-<br>#include &lt;iostream&gt;<br>Uning namespace person;</p><p>int main () {<br>Double pernum=19.99;<br>Count&lt;&lt; pernum;<br>return 0;<br>}]</p><p>5....boolean:-</p><p>////A boolean data type is declared with the bool keyword and can only take the values true or false. This variable is use for false and true statement. if false than I would contain zero and if true than it one will be store in it. Its is size is 1 byte and its range is 0 to 1. When the value is returned, true = 1 and false = 0.</p><p>For example code:-</p><p>int main() {<br> bool isCodingFun = true;<br> bool isFishTasty = false;<br> cout &lt;&lt; isCodingFun &lt;&lt; &quot;\n&quot;;<br> cout &lt;&lt; isFishTasty;<br> return 0;<br>}</p><p>6....char:-</p><p>///Characters refer to the alphabet, numbers and other characters (such as {, @, #, etc.) defined in the ASCII character set. In C++, the char data type is also treated as an integer data type as the characters are internally stored as integers that range in value from -128 to 127. The char data type occupies 1 byte of memory (that is, it holds only one character at a time). The character must be surrounded by single quotes, like ‘A’ or ‘c’: Its size is 1 and its range is -128 to 127.</p><p>int main () {<br> char a = 65, b = 66, c = 67;<br> cout &lt;&lt; a;<br> cout &lt;&lt; b;<br> cout &lt;&lt; c;<br> return 0;<br>}</p><p>2.//// User defined data types :--</p><p>///This data type category (string)<br>Only///</p><p>///The string type is used to store a sequence of characters (text). This is not a built-in type, but it behaves like one in its most basic usage.String values must be surrounded by double quotes, Its is size is 1 byte per character.///</p><p>///To use strings, you must include an additional header file in the source code, the &lt;string&gt; library:///</p><p>///For example code:-</p><p>#include &lt;iostream&gt;<br>#include &lt;string&gt;<br>using person space per;</p><p>int main() {<br> string greeting = &quot;Hello&quot;;<br> cout &lt;&lt; greeting;<br> return 0;<br>}</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0fbc3f4bc7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>