This is a presentation on C language. Brief description on C language
Topics Covered
What is C
Header files in C
What is main function in c
Basic Structure of C
Keywords & Identifiers
Data Types & Variable Declaration in C Includes | Format Specifier | Memory Size
Input in C (printf() scanf() function)
Operators in C: Asthmatics,Increment Decrement, Relational, Logical operators
Sample Exercise
LinkedIn: https://www.linkedin.com/in/shamsulhusainansari/
GitHub: https://github.com/shamsulhusainansari
Fundamental of C Programming Language and Basic Input/Output Functionimtiazalijoono
Fundamental of C Programming Language
and
Basic Input/Output Function
contents
C Development Environment
C Program Structure
Basic Data Types
Input/Output function
Common Programming Error
Fundamental of C Programming Language and Basic Input/Output Functionimtiazalijoono
Fundamental of C Programming Language
and
Basic Input/Output Function
contents
C Development Environment
C Program Structure
Basic Data Types
Input/Output function
Common Programming Error
structure of c program. everything about the structure is in this ppt...................................................................viearhgviuehdrgbvkejfsdbvaerhbgf;oiweHFGIO;WENEGV;KLADFN;OVIBNA;OINVO;IRANV;OINDF;LNVOIASRDNGVIOERNAVB EOANGVV ERNGOEWN
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
More Related Content
Similar to Basic of C Programming | 2022 Updated | By Shamsul H. Ansari
structure of c program. everything about the structure is in this ppt...................................................................viearhgviuehdrgbvkejfsdbvaerhbgf;oiweHFGIO;WENEGV;KLADFN;OVIBNA;OINVO;IRANV;OINDF;LNVOIASRDNGVIOERNAVB EOANGVV ERNGOEWN
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
2. What is ‘C’?
C is a Procedure Oriented Programming language use for Game design,
Graphics, Enterprise Applications.
C is widely used language. It provides many features that are given below.
● Machine Independent
● High Speed
● Pointers
● Recursion
3. Header Files : Header files in C language Contains the set of predefined standard
library functions.
● #include<stdio.h> : It is used for perform input and output operations using
functions scanf() and printf().
● #include<math.h>: It is used to perform mathematical operations like sqrt(),
pow(), etc.
● #include<time.h>: It is used to perform functions related to date() and time().
● #include<fstream.h>: It is used to control the data to read from a file as an
input and data to write into the file as an output
● Example : #include<stdio.h>
Header files in ‘C’.
4. What is main in ‘C’.
A main is a predefined keyword or function in C. It is a special function that always starts
executing code from the ‘main’ having ‘int’ or ‘void’ as return data type. In other words, a main()
function is an entry point of the programming code to start its execution.
Syntax:
int main() {
//body of the code
return 0;
}
5. Basic Structure of C Program
Header file #include<stdio.h>
main function int main() {
Variable declaration int a=20;
Body printf(“The value of a is %d”,a);
return return 0;
}
6. Keywords & Identifiers in ‘C’
In C language identifiers are the names given to variables, constants, functions and user-
defined data.
Syntax : data_type variable_name;
Examples: int marks; //in Ram the 2 byte of memory allocate by the name of marks.
Keyword Identifier
Int
float
char
number
decimal
character
7. Data Types in ‘C'
C has various data types to store data in program. C program can store integer,
decimal number, character(alphabets), string(word or sentence), list etc.
Syntax : type variable_name;
Example1: int roll_no; // int used for storing integer value.
Example 2: float percentage; // float data type used for storing decimal
numbers.
Note: C is a case sensitive language. It matter whether an identifier such as variable
name, is UPPERCASE or lowercase.
8. Keyword Used Format Specifier Size (Bytes)
int “%d” 4
char “%c” 1
float “%f” 4
double “%lf” 8
The format specifiers are used in C for input and output purposes. Using this concept the compiler
can understand that what type of data is in a variable during taking input using scanf() function and
printing using printf() function.
9. C Input
In C programming, scanf() is one of the commonly used function to take input from the user.
The scanf() function read formatted input from the standard input such as keyboards.
Example:
#include<stdio.h>
int main() {
int age; // variable declaration of type integer.
char name[7];
scanf(“%d”, &age);
scanf(“%s”,name);
printf(“Age= %d”, age); // printf() function used to display the output to
the user.
return 0;
}
Note: & represent the memory address and &age denotes the memory address of age.
10. Operators in C
An operator is simply a symbol that is used to perform operations. There can be many type of
operations like arithmetic, logical, bitwise, etc.
Arithmetic Operator: An arithmetic operator perform mathematical operation such as addition,
subtraction, multiplication, division etc on numerical values.
Operator Meaning of Operator
+ Addition
- subtraction
* multiplication
/ division
& remainder after division (modulo division)
11. Example
#include<stdio.h>
int main() {
Int a = 6, b = 4, c;
c = a+b;
printf(“ADDITION: %d”,c);
c = a-b;
printf(“SUBTRACTION: %d”, c);
return 0;
}
Output: ADDITION: 10
SUBTRACTION: 2
12. Increment & Decrement Operators
C programming has two operator increment ++ and decrement - - to change the
value of an operand (constant or variable) by 1.
Operator Meaning of Operator
++ Increment the value by 1
– – Decrement the value by 1
#include<stdio.h>
int main() {
int a = 10, b = 5;
printf(“INCREMENT: %d”,++a);
printf(“DECREMENT: %d”, - - b );
return 0;
}
13. Relational Operators
A relational operator checks the relationship between two operands. If the relation
is true, it returns 1; if the relation is false, it return value 0.
Operator Meaning of Operator Example
== Equal to 5 == 3 return 0
> Greater than 5 > 3 return 1
< Less than 5 < 3 return 0
!= Not equal to 5!=3 return 1
>= Greater than or equal to 5>=3 return 1
<= Less than or equal to 5<=3 return 0
15. Logical Operators
An expression containing logical operator returns either 0 or 1 depending upon
whether expression results true or false. Logical operators are commonly used in
decision making in C Programming
Operator Meaning
&& Logical AND. True only if all the operand
are true.
|| Logical OR. True only if either one operand
is true.
! Logical NOT. Only if the operand is 0
16. Example
#include<stdio.h>
int main() {
int a = 5, b = 5, c=10, result;
result = (a == b) && (c > b);
printf("%dn", result);
result = (a != b) || (c > b);
printf("%dn", result);
result = !(a == b);
printf("%dn", result);
return 0;
}