C language high level course contents:
keywords, operators, control statements, functions, recursion
keywords (23): int, char, float, double, void, return, short, long, signed, unsigned, sizeof, const, if, else, switch, case, default, for, while, do, break, continue, goto
operators (30): + - * / % < <= > >= == != && || ! & ^ | ~ << >> = + - ++ -- (type) , () ?: sizeof
arrays, pointers, strings, enumerations, structures, unions
keywords (4): enum, struct, union, typedef
operators (4): [] * . ->
storage class specifiers, type qualifiers, preprocessor directives
keywords (5): auto, register, static, extern, volatile
operators (0): NIL
software
functions
statements - declaration, expression, function call, return, etc
expression - operands (keywords) + operators
basic constructs of C program - expression, statement, block, function, I/O functions, header files.
keywords - datatypes
operators - precedence & associativity
control statements
functions & recursion
Basic data types: char, int, float, double
derived data types: arrays, pointers, strings
user defined data types: enumerations, structures, unions
34 operators:
+ - * / %
< <= > >= == !=
&& || !
& | ^ ~ << >>
=
?:
+ - ++ -- (type) sizeof , ()
[] * . ->
Assignments:
library functions ==> ch19
digital gates ==> AND, OR, NOT, NAND, NOR, XOR, XNOR ==> truth tables, symbols, conversion (done)
number systems ==> binary(2), octal(8), decimal(10), hexa-decimal(16) / BCD (binary coded decimal)==> conversions (done)
Read about operators: 11 (done)
& | ^ ~ << >>
?:
++ -- (type) ,
study keywords goto. done
study nesting of loops. done
what is recursion? done
write a c program to find x power y. done
write a c program to find if a given number is prime number. done
write a c program to find a factorial of a given number. done
write a c program to find sum of the digits of a number.
a=45732; ==> 4+5+7+3+2 ==> 21
a=1234567; ==> 1+2+3+4+5+6+7 ==> 28
write a c program to find multiplication of the digits of a number.
a=45732; ==> 4*5*7*3*2 ==> 840
a=1234567; ==> 1*2*3*4*5*6*7 ==> 5040
write a c program to reverse a number.
a=45732; ==> 23754
a=1234567; ==> 7654321
write a c program to check given number is palindrome or not
a=45732; ==> 23754 ==> not a palindrome
a=12321; ==> 12321 ==> palindrome
a=131; ==> 131 ==> palindrome
a= 1356531; ==> 1356531 ==> palindrome