Skip to content

Instantly share code, notes, and snippets.

Created May 2, 2020 08:36
What would you like to do?
C Basics
Basic Topics To Be Covered:
Preprocessor Directives
Basic Data Types in C:
Basic: int,float,long,double,char,void
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.
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