විචල්ය සහ දත්ත වර්ග | Variables,constants & data types | C programming සිංහල Tutorial Episode 10
#variables #c #cprogramming #kuppiya #coding
Welcome To SL Android Youtube Channel 👋
💢 Disclaimer 💢
SL ANDROID channel doesn't promote & encourage any illegal activities, SL ANDROID YouTube channel all contents only provided by education purpose only. Thanks for watching.
⭕ What is variables ⭕
In C programming, a variable is a named memory location that stores a value or data. It's used to store values that can be changed during program execution. Variables are essential components of C programs, and they provide a way to manipulate data and perform various operations.
To use a variable in C, you must declare it first. The declaration specifies the variable's data type, name, and optionally, an initial value. The most commonly used data types in C include int, char, float, and double.
Variables in C can be used in mathematical expressions, conditional statements, loops, and functions. They play a critical role in storing and manipulating data in C programs.
⭕ What is constant variables ⭕
In C programming, a constant variable is a type of variable whose value cannot be changed during the execution of the program. Once a constant variable is declared and assigned a value, it cannot be modified throughout the rest of the program's execution.
In C, constants are typically defined using the keyword const followed by the data type and the variable name.
The values of constant variables are typically determined at compile-time and are stored in read-only memory. This means that the program cannot modify the value of the constant variable during runtime.
Using constant variables can make your program more robust and easier to maintain, as it ensures that important values are not accidentally changed. Additionally, using constants can make your code more readable and understandable, as it provides a clear indication of the values used in the program.
⭕ What is constant variables ⭕
In C programming, data types refer to the classification or categorization of data items. Data types specify the size and type of values that can be stored in variables. C has four categories of data types:
Basic or Primitive Data Types: These are the most fundamental data types in C, and they represent simple values. The basic data types in C are integer, character, floating-point, and double-floating-point.
✔ Derived Data Types: These data types are derived from the basic data types and include arrays, structures, and unions.
✔ Enumeration Data Types: These data types are user-defined data types that represent a set of named integer constants.
✔ Void Data Type: This data type is used to indicate the absence of a value. It is often used as a function return type or as a function parameter type to indicate that the function does not return any value.
###################################################################################################################################
📛Follow Us On Facebook Page
https://www.facebook.com/SLAndroidD/
📛Join Facebook Group
https://www.facebook.com/groups/277920623081269/
📛Join Telegram Channel
https://t.me/SL_Android
📛Follow Us On Instagram
https://www.instagram.com/sl_android_official/
KEYWORDS : source code, SL, Android ,graphics programming, turtle graphics library, educational coding, creative coding, 2D graphics, visual arts, graphics design, code tutorial, programming basics, Android development, project source code,learn to code, beginner programming, code
#cprogramming #ccoding #coding #python #oop #programmingconcepts #termux #linux #codingforbiginers #cprogrammingatoz #formatspecifiers #variables #functions #codecamp #sinhalencoding #programmingsinhala #a/kuppiya #kuppiya #programmingkuppiya #machinelearning #uidesign #uxdesign #AI #programmingbasics #codeoptimization #softwaredevelopmentprocess #programmingpractice #softwaredevelopmentbestpractices #educationalgames #codingchallenges #softwaredevelopmentmethodologies #codingpractices #softwaredevelopmentprinciples #softwaredevelopmenttechniques #softwaredevelopmenttoolsandtechnologies #HTML #CSS #JavaScript #C++11 #C++14 #C++17 #Spring #Hibernate #javafx #Android #Java
𝗔𝗹𝗹 𝗥𝗶𝗴𝗵𝘁𝘀 𝗥𝗲𝘀𝗲𝗿𝘃𝗲𝗱 © 𝗖𝗼𝗽𝘆𝗿𝗶𝗴𝗵𝘁𝗲𝗱 | 𝗦𝗟 𝗔𝗻𝗱𝗿𝗼𝗶𝗱 | 𝗦𝗶𝗻𝗰𝗲 𝟮𝟬𝟭𝟴
Other Videos By SL Android
Other Statistics
Counter-Strike: Source Statistics For SL Android
There are 2,476 views in 6 videos for Counter-Strike: Source. About an hours worth of Counter-Strike: Source videos were uploaded to his channel, or 3.92% of the total watchable video on SL Android's YouTube channel.