Posts

Showing posts from June, 2022

C Programming Language Basic Programming Examples, C Programming Basics, C Programming Basics Program, C Programming Examples With Output.

Image
C Programming Examples With Output 1)     Wright A Program Enter A Two Numbers   Print Its Addition. #include<stdio.h> int main () {                         int a,   b,   c;                         printf("Enter A First Number =");                         scanf("%d",   &a);                         printf("Enter A Second Number =");                         scanf("%d",   &b);                         c = a+b;                         printf("Addition =%d",   c);                         return 0; } Output  Enter A First Number = 10 Enter A Second Number = 20 Addition = 30 2)     Wright A Program Enter Empolay Sallary,     Calculat Tax 10 % And Print Tax Amount And Total Salary. #include<stdio.h> int main () {                         float Sallary,     tax,     total;                         printf("Enter Empolay Sallary = ");                         scanf("%f",

C Programming Language Basic Programming Examples, C Programming Basics, C Programming Basics Program, C Programming Examples With Output.

Image
C Programming Examples With Output 1)     Wright A Program Print Addition Of Two Constant Numbers. /* Addition Of Two Constant Numbers */ #include<stdio.h> int main () {                         int a,  b,  c;                         a=20;                         b=15;                         c=a+b;                         printf("Addition = %d",  c);                         return 0; }            Output :-   Addition = 35   2)     Wright A Program Print Multiplication Of Two Constant Numbers.  /* Multiplication Of 2 Constant Numbers */ #include<stdio.h> int main () {                         int a,  b,  c;                         a=20;                         b=15;                         c=a*b;                         printf("Multiplication  = %d",  c);                         return 0; }                                                Output :- Multiplication  =300   3)     Wright A Program Print Addition,

Wright A Program Display Hello World On Screen ?

Image
1) Wright A Program Display  Welcom To C Programing  On Screen ? hello world program      W rite a program to display a message in c ?   /*Display Message*/ # include<stdio.h> int main () {                         printf("Welcom To C Programing ");                              printf("H ello World");                         return 0;               }          Output :-   Welcom To C Programing          H ello World 2)     Wright A Program Display Indian 5 City, Mumbai, Delhi, Chennai, Kolkata, Bengaluru, On Screen. /*Display Message In Indian 5 City */ #include<stdio.h> int main () {                         printf("Indian 5 City ");                         printf("\nMumbai ");                         printf("\nDelhi ");                         printf("\nChennai ");                         printf("\nKolkata");                         printf("\nBengaluru ");       

what is the variable in c and types of variables ? data types in c and their size ,

Image
variable and data types in c 5} Types Of Variables In C Language :-      Variable :- Variable Is Changeable Value During The Program Execution.           variable is name of given to memory location that a value in allocated memory location. Variable Categrise In Two Types Local Variable . Global Variable. 1) Local Variable :- Local Variable Which Declare With Any Function Are Called Local Variable. Local Variable Are Store The Value Temporarily. These Variables Are Only Accessed By The Function In Which Thay Are Declared. 2) Global Variable :- Global Variable Are Declared Above Any Function Is Called Global Variable. These Variable Are Accessed By Any Function In The Program. Default Value Of Global Variable Is Zero. 6} Data Types In C Programming  :-a      Data Types :- Are Used For Types Declaration For Variable And Size Declaration For Variable. data types in c programming 1] Integer :- Integer Data Type Used For To Store Data In Numerical Value Without Decimal Point In A Vari

Types of tokens in C ? tokens of C language, Character Set, Keywords, Identifiers, Constants

Image
Tokens Of C Language Tokens Of C Language      Tokens Components Of The Program That Are Used For Program Writing. Character Set Keywords Identifiers Constants Variable Data Types Operator 1] Character Set :- Character Set Is Collection Of Alphabets, Numerical Value Special Symbols Used For To Program Writing. A TO Z a TO z 0 TO 9 { }, [ ] , ( ), < >, + , -, * , / , % , \  , # , & , ^ , ||  , 2] Keywords :- Keywords Are Reserved Words Or Predefined Words Its Meaning Know For Compiler. C Programming Language Has 32 Types Keywords. void , int , float , double ,  char, if , else , switch , case , default , while, for , do , break , continue ,return , auto , struct , long ,  enum , register ,  typedef , extern , union , const , short ,  unsigned , signed , goto , sizeof , volatile ,  static . 3] Identifiers :- Identifiers Are Identification Name Of Program, Name Of Variable, Name Of Structure And Name Of Function Given By The Programar Or Developer.      Rules For Identifica

Basics of c programming language, introduction and Fetcturs of c programming language .

Image
basic c programming Introduction of c language C - Programming Language Is A General Purpose High Level Process Oriented Programming Language Used For To Create System Software And Application Software. C - Language Was Developed By Dennis Ritchie At At & T Bell Lab Located In Usa In 1972 Features of c language  Simple System Independent Middle Level Programming Language Procedure Oriented Programming Language Rich Library Memory Management Fast Speed Pointer Extensible      1] Simple :- C Is Simple Programming Languages Be Couse C Statement Written In English Statement It Has A Library Function Which Is Beneficial For Fast Development.      2] System Independent :- C Is System Independent Programming Language Can Be Execute Program In Different System.      3] Middle Level Programming Language :- C Is Middle Level Programming Language It Has Fetures Of  Goal High Levele Programming Language.      4] Procedure Oriented Programming Language :- In C Programming Language A