C Basics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basic Topics To Be Covered: | |
Preprocessor Directives | |
Functions,Variables,Tokens,Semicolons,Comments,Identifiers | |
Basic Data Types in C: | |
Basic: int,float,long,double,char,void | |
Enumerations | |
Derived: Array, Structures, Pointers, Unions | |
Defining Constants : const , #define | |
C storage classes : auto,register,static,extern | |
Operators : Arithmetic,Relational,Logical,Bitwise,Assignment | |
Decision Making : if , if else if, nested ifs , switch case, Ternary ? | |
Loops: for,while,do while | |
Loop control : continue,break | |
*******Problems to be solved************ | |
1.WAP to detect greatest of three numbers | |
2.WAP to Print a Floyd's Triangle | |
Rows will be input by user | |
Floyd’s triangle is a triangle with first natural numbers. | |
1 | |
2 3 | |
4 5 6 | |
7 8 9 10 | |
11 12 13 14 15 | |
with C | |
3.WAP to Reverse the Digits of a Number Entered by user,Armstrong Number,Swapping Digits of a number | |
4.WAP to find roots of a quadratic equation, Simple Interest | |
5.Print Reverse of a String / Check Palindrome | |
6.Find the two top maximum numbers in an array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment