C
C++
Java
C#
Python
C
Overview
Basic Structure of C
C
Chapters
Overview
(3)
Basic Structure of C (34)
Executing 'C' Program (0)
Sample Program (4)
Constants, Variables & Data Types
(4)
C Data Types (2)
Variables & Constants (0)
Keywords & Identifier (0)
Tokens (0)
Operators and Expressions
(10)
Arithmatic Operators (1)
Increment and Decrement Operators (1)
Assignment Operators (1)
Relational Operators (1)
Logical Operators (1)
Conditional Operators (1)
Bitwise Operators (1)
Special Operators (1)
C Expressions (1)
Type Conversion (1)
I/O Operations
(2)
Printf() (1)
Scanf() (1)
Decision Making and Branching
(7)
IF Statement (5)
IF..ELSE Statement (13)
Nested IF..ELSE Statement (1)
ELSE IF Leader (1)
?:Operator (Conditional Expression) (0)
Switch Statement (2)
GOTO Statement (1)
Decision Making and Looping
(4)
While Loop (7)
Do While Loop (1)
For Loop (43)
Jumps in Loops (1)
Arrays
(4)
Declaring & Initializing Arrays (1)
One Dimensional Arrays (18)
Two Dimensional Arrays (7)
Multi Dimensional Arrays (3)
Character Arrays and Strings
(3)
Declaring & Initialization String (1)
Reading Strings (1)
String Handling Funtions (1)
Functions
(7)
Function Declaration (2)
Function Calls (20)
Function Arguments (11)
Types of Functions (2)
Recursion (1)
Passing Arrays to Functions (1)
Passing Strings to Functions (0)
Structures
(5)
Structure Initialization (3)
Size of Structures (1)
Arrays within Structure (5)
Structures within Structures (0)
Structures & Functions (4)
Unions
(3)
Union Initialization (1)
Accessing Union Members (0)
Passing Union to Function (0)
Pointers
(6)
Declaring & Initialization of Pointer (2)
Pointer and Character Strings (2)
Array of Pointers (2)
Pointer As Function Arguments (2)
Pointers to Functions (2)
Pointers & Structures (0)
File Management
(4)
Opening a File (2)
Closing a File (1)
File Operations (31)
Error Handling In File (1)
Dynamic Memory Allocation and Linked Lists
(2)
Dynamic Memory Allocation (0)
Command Line Argument (0)
Basic Structure of C
Overview
26-10-2016
8977
3 Topics
34 Programs
C Program to print “Hello World”.
Basic Structure of C
18-12-2016
C Program to Find ASCII Value of a Character
Basic Structure of C
26-01-2017
C Program to demonstrate integers and real variable declaration, initialization and printing of values.
Basic Structure of C
18-12-2016
C Program to store the five vowels (a, e, i, o, u) in five suitably declared variables. Then print out the contents of the variables on a single line.
Basic Structure of C
18-12-2016
C Program that asks the user to enter a quantity and a cost. The values are to be read into an integer named quantity and float named unit price. Define the variables, and use only one statement to read the values. After reading the value skip one line and print each value, with an appropriate name on a separate line.
Basic Structure of C
20-04-2017
C Program that prompts the user to enter an integer and then prints the integer first as a character, than as a decimal, and finally as a float. Use separate print statements. A sample run is shown below. The number as a character: k The number as a decimal: 75 The number as a float: 0.000000
Basic Structure of C
20-04-2017
C Program for Swapping of two numbers.
Basic Structure of C
20-04-2017
C Program that asks the user to enter two numbers and prints their sum, product, difference, quotient and remainder.
Basic Structure of C
20-04-2017
C Program To Calculate Square And Cube Of Given Number
Basic Structure of C
20-04-2017
C Program to calculate average of four integers.
Basic Structure of C
20-04-2017
C Program to calculate simple interest.
Basic Structure of C
20-04-2017
C Program to find area and perimeter of rectangle.
Basic Structure of C
20-04-2017
C Program which reads the radius of circle and computes its area, diameter and circumference. Also perform the same program using symbolic constant.
Basic Structure of C
22-04-2017
C Program to find area and volume of sphere.
Basic Structure of C
22-04-2017
C Program to Find the Volume of a Cylinder
Basic Structure of C
22-04-2017
C Program to calculate volume of a cube
Basic Structure of C
22-04-2017
C Program to Calculate Area of Rectangle
Basic Structure of C
22-04-2017
C Program to Calculate the Area of a Triangle
Basic Structure of C
22-04-2017
C Program to convert a temperature in Fahrenheit to its Celsius equivalent, and one to convert a Celsius temperature to Fahrenheit.
Basic Structure of C
22-04-2017
C Program that user enter an angle measured in radians and convert it into degrees. [1 radian = 57.295779 degrees]
Basic Structure of C
23-04-2017
C program to calculate total average and percentage of five subjects
Basic Structure of C
23-04-2017
C program to calculate gross salary of an employee.
Basic Structure of C
23-04-2017
C Program to calculate a student's average score for a course with 4 quizzes, 2 midterms and a final. The quizzers are weighted 30%, the midterms 40%, and the final 30%.
Basic Structure of C
23-04-2017
C Program to find the cost price of one item, if the total selling price of 15 items and the total profit earned on them is input through the keyboard.
Basic Structure of C
23-04-2017
C Program to receive values of latitude and longitude in degress, of two places on earth and outputs the distance between them in nautical miles. The formula for distance in nautical is : D=3963 cos
^{-1}
(sinL1sinL2+cosL1cosL2*cos(G2-G1))
Basic Structure of C
23-04-2017
C Program for the right most digit of a number.
Basic Structure of C
23-04-2017
In a town, the percentage of men is 52. The percentage of total literacy is 48. If total percentage of literate men is 35 of the total population, write a program to find the total number of illiterate men and women if the population of the town is 80,000.
Basic Structure of C
23-04-2017
A cashier has currency notes of denominations 10, 50 and 100. If the amount to be withdrawn is input through the keyboard in hundreds, find the total number of currency notes of each denomination the cashier will have to give to the withdrawer.
Basic Structure of C
23-04-2017
Write a program to create a customer's bill for a company. The company sells only five different products: TV, VCR, Remote controller, CD player and the tape recorder. The unit price is $400, $220, $35.20, $300 and $150 respectively. The program must read the quantity of each piece of equipment purchased from the keyboard. It then calculates the cost of each item, the sub total and the total cost after an 8.25% sales tax.
Basic Structure of C
24-04-2017
C Program to Convert a Given Number of Days in terms of Years, Weeks & Days
Basic Structure of C
24-04-2017
C Program to convert and print the distance in meters, feet, inches, yard and centimetres and the distance between two cities (in km.) is input through the keyboard.
Basic Structure of C
24-04-2017
C Program that inputs one five-digit number separates the number into its individual digits and prints the digits separated from one another by three spaces each. [Hint: Use combinations of integer division and the remainder operation.] For example, if the user types in 42139, the program should print: 4 2 1 3 9
Basic Structure of C
24-04-2017
C Program to read and print student information using structure.
Basic Structure of C
05-07-2017
C Program that uses a structure to simulate the time
Basic Structure of C
05-07-2017