Skip to main content

C TOKENS

C TOKENS:-

                      TOKENS ARE THE GROUP OF CHARACTER THAT ARE USED FOR REPRESENTING AN IDENTITY . IN C LANGUAGE FOLLOWING TYPES OF TOKENS ARE USED.


  • IDENTIFIER
  • KEYWORDS 
  • CONSTANT 
  • OPERATORS 


i.) IDENTIFIER:-

                              IDENTIFIER ARE THE NAMES THAT ARE USED FOR IDENTIFYING AN ENTITIES .
                   IDENTIFIER ARE THE NAMES WHICH ARE GIVEN TO VARIOUS PROGRAMS ELEMENTS SUCH AS VARIABLES , FUNCTIONS AND ARRAYS . IDENTIFIER MUST BE UNIQUE . ALSO REMEMBER , IDENTIFIER NAME MUST BE DIFFERENT FROM THE KEYWORDS . YOU CANNOT USE (int) IS A KEYWORD .

SOME MAIN POINTS OF IDENTIFIER ARE:-

* IDENTIFIER CONSIST OF BOTH LETTERS AND DIGITS .
* AN IDENTIFIER CONSIST OF ALPHABETS , DIGITS AND UNDERSCORE
* IT MUST NOT START WITH DIGITS .
* C IS CASE SENSITIVE .

KEYWORDS:-

                         IN C LANGUAGE  SOME WORDS ARE RESERVE FOR SPECIFIC TASK THEY CARRY SPECIAL MEANING FOR C COMPILER .
KEYWORDS ARE PART OF SYNTAX AND THEY CANNOT BE USED AS AN IDENTIFIER . KEYWORDS HAVE STANDARD PREDEFINED MEANING .

for example:-  int money
here (int)  is keyword and money is a variable type of integer .

HERE SOME KEYWORDS ARE -



OPERATORS: YOU CAN READ ABOUT OPERATORS IN DETAIL .




VARIABLE:-

                     VARIABLES ARE MEMORY LOCATIONS , WHICH HOLD SOME VALUE IN THEM . THEY ARE ALWAYS ASSIGN A UNIQUE NAME FOR IDENTIFICATION .

* VARIABLES IS AN IDENTIFIER IS USED TO REPRESENT SOME SPECIFIC TYPE OF INFORMATION WITHIN DESIGNATED PORTION OF THE PROGRAM .

* VARIABLE IS AN IDENTIFIER THAT IS USED TO REPRESENT SINGLE DATA ITEM .

for example:-

int a;
a=6;
here 'a' is a variable .

-------------------------------------------------------------------------------------------------------------------------------------

NOTE:- IF YOU WANT TO LEARN ABOUT ANY TOPIC , YOU CAN TELL ME . I WILL TRY TO PROVIDE YOU ALL THE INFORMATION RELATED TO THAT TOPIC.


FOR MORE KNOWLEDGE CLICK BELOW:-



Comments

Popular posts from this blog

BEST GAMING LAPTOPS FOR HIGH QUALITY/GRAPHICS GAMES

THE BEST GAMING LAPTOPS  NOW-A-DAYS THE TREND OF VIDEO GAMES HAS INCREASED. NEW GENERATION IS ENJOYING VIDEO GAMES VERY MUCH NOW-A-DAYS . MOST OF THE LATEST GAMES ARE COMING UP NOWDAYS WHICH ARE NOT ONLY APPEALING TO CHILDREN BUT  ALSO THE BIG ONES . AND NOWDAYS, GAMES THAT ARE BEING MADE A VERY HIGH QUALITY AND HIGH GRAPHICS IF YOU PLAY SUCH HIGH GRAPHICS GAMES IN A NORMAL LAPTOP THEN THE LAPTOP WILL TURN SLOWER AND HANG IT . THAT'S WHY THERE ARE DIFFERENT GAMING LAPTOPS   COMING FROM SUCH HIGH QUALITY GAMES THAT MUST BE READ BELOW . THE BEST GAMING LA PTO PS ARE FAST CHANGING IN 2019. NOW THAT THE  NEW 20-SERIES GPUs HAVE ST ARTED TO  FILTER INTO OUR FAVOURITE GAMING LAPTOPS MODEL , THE BALANCE OF WHICH ONE IS TRULY   'BEST' IS SHIFTING. WHILE, DOUBT THE BEST GAMING LAPTOP OF LAST YEAR WAS THE MSI GS65 STEALTH THIN , THAT SIMPLY ISN'T IN THE CASE AS WE GET MID-WAY THROUGH 2019. NOW, OUR BEST GAMING LAPTOP IS THE  RAZER BLADE...

How to Make a Bootable Pen drive: A Step-by-Step Guide

  How to Make a Bootable Pen drive: A Step-by-Step Guide   Introduction: In today's digital world, bootable pen drives have become indispensable tools for installing operating systems, running diagnostics, and recovering data. Creating a bootable pen drive is easier than you might think, and this guide will walk you through the process in a simple and straightforward manner. Whether you're a beginner or an experienced computer user, this step-by-step tutorial will help you create your own bootable pen drive effortlessly. Step 1 : Gather the Required Materials To make a bootable pen drive, you'll need the following items: 1. A USB pen drive with sufficient storage capacity (at least 8GB is recommended). 2. The ISO file or installation media of the operating system or tool you want to make bootable (e.g., Windows, Linux, etc.). 3. A computer with an available USB port. Step 2: Download the Required Software To create a bootable pen drive, you'll need specialized software...

Top 6 Best Video Games for 2GB RAM Laptops

Top 6 Best Video Games for 2GB RAM: Game Configurations and Recommended Laptops Introduction: When it comes to gaming, having a high-end gaming rig is often considered essential. However, not everyone has access to a powerful computer with loads of RAM and a dedicated graphics card. But fear not, as there are still plenty of enjoyable gaming experiences available for those with more modest hardware configurations. In this blog post, we will explore the top six best video games that can run smoothly on a system with 2GB RAM. Additionally, we will suggest some good laptops that are suitable for gaming on such specifications. 1. Star dew Valley: - RAM Requirement: 2GB - CPU: 2.00 GHz processor - GPU: Integrated graphics with 256MB video memory Star dew Valley is a relaxing farming simulation game that has captivated players with its charming visuals and engaging gameplay. With its low system requirements, it can run smoothly on systems with 2GB RAM. Download Here:  Star dew valley 2....