Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: C language tutorial (basic) ( codes ) chapter 2Instructions & Operators
Description: C language tutorial (basic) ( codes ) chapter 2Instructions & Operators

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


C Language Tutorial
(Basic to Advanced)

Topics to be covered :
Installation + Setup
Chapter 1 - Variables, Data types + Input/Output
Chapter 2 - Instructions & Operators
Chapter 3 - Conditional Statements
Chapter 4 - Loop Control Statements
Chapter 5 - Functions & Recursion
Chapter 6 - Pointers
Chapter 7 - Arrays
Chapter 8 - Strings
Chapter 9 - Structures
Chapter 10 - File I/O
Chapter 11 - Dynamic Memory Allocation

Instructions & Operators
(Chapter 2)
1
...
h>
int main() {
int age = 22;
int oldAge = age;
int newAge = oldAge + 2;
printf("new age is : %d", newAge);
int rupee = 1, dollar;
dollar = 74;
/*
order of declaration is important - Wrong Declaration Order
float pi = 3
...
Arithmetic Instructions
#include ...
h>
int main() {
printf("sum of 2 & 3 : %d", 2 + 3);
printf("sum of 2
...
0 + 3);
printf("sum of 2
...
0 : %f", 2
...
0);
return 0;
}

> Associativity
#include ...
Relational Operator
#include ...
Logical Operator
#include ...
Assignment Operator
# include
Title: C language tutorial (basic) ( codes ) chapter 2Instructions & Operators
Description: C language tutorial (basic) ( codes ) chapter 2Instructions & Operators