ভ্যারিয়েবল ঘোষণার নিয়ম || HSC ICT with AT Babon || Chapter 5, C Programming Bangla - Part 04

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ต.ค. 2024
  • HSC ICT || Chapter 5 || C Programming-Part 04 || ভ্যারিয়েবল ঘোষণার নিয়ম || Rules Of Variables
    Subscribe Our Channel : / @studypediabd
    অধ্যায় ৩-১ সংখ্যা পদ্ধতির সবগুলো ভিডিও দেখতে ক্লিক করো- • Playlist
    Like Our FB Page- / studypediabd
    Join Our Fb Group- HSC ICT with AT Babon / 883339322164023
    Variable Declaration Rules in C
    To Declare any variable in C language you need to follow rules and regulation of C Language, which is given below;
    Every variable name should start with alphabets or underscore (_).
    No spaces are allowed in variable declaration.
    Except underscore (_) no other special symbol are allowed in the middle of the variable declaration (not allowed - roll-no, allowed - roll_no).
    Maximum length of variable is 8 characters depend on compiler and operation system.
    Every variable name always should exist in the left hand side of assignment operator (invalid -10=a; valid - a=10;).
    No keyword should access variable name (int for - invalid because for is keyword).
    Note: In a c program variable name always can be used to identify the input or output data.
    Variable declarations
    This is the process of allocating sufficient memory space for the data in term of variable.
    Syntax
    Datatype variable_name;
    int a;
    variable declaration
    If no input values are assigned by the user than system will gives a default value called garbage value.
    Garbage value
    Garbage value can be any value given by system and that is no way related to correct programs. This is a disadvantage of C programming language and in C programming it can overcome using variable initialization.
    #Related Tags
    #local and global variables in c
    #local and global variables in c++
    #difference between local and global variable in python
    #local and global variables in java
    #global and local variable with same name in c
    #example of local variable
    #global variable in c++
    #local variable c++
    #structure program for student details in c
    #structure of c program with example pdf
    #explain the basic structure of c program with an example pdf
    #basic structure of c program pdf
    #union in c programming
    #structure of c program
    #typedef struct in c
    #c programming tutorial
    #c programming software
    #c programming pdf
    #c programming basics
    #learn c programming online free
    #সি প্রোগ্রামিং ল্যাঙ্গুয়েজ
    #সি প্রোগ্রামিং বই pdf
    #সি প্রোগ্রামিং ফাংশন
    #সি প্রোগ্রামিং কি
    #সি প্রোগ্রামিং এর ইতিহাস
    #সি প্রোগ্রামিং টিউটোরিয়াল
    #সি প্রোগ্রামিং HSC
    #সি প্রোগ্রামিং ভাষা কি
    #সি প্রোগ্রামিং hsc
    #সি প্রোগ্রামিং ফাংশন
    #সি প্রোগ্রামিং কি
    #সি প্রোগ্রামিং HSC
    #সি প্রোগ্রামিং ICT
    #অ্যারে সি প্রোগ্রামিং
    #সি প্রোগ্রামিং ল্যাঙ্গুয়েজ
    #সি প্রোগ্রামিং ভাষায় switch কি
    #এইচ এস সি সি প্রোগ্রামিং

ความคิดเห็น •