C Program: Prints the digits from 1 to10 by using three Different Methods

Engg.... | 06:04 | | Best Blogger Tips

Write a program that prints numbers(digits) from 1 to 10 :

There are three methods:
  • By using while statement
  • By using do-while statement
  • By using for statement
So Lets have a look on these methods one by one :

read more

C Program: Enter a Number and Prints its Tabel in Correct as well as in Reverse order

Engg.... | 05:30 | | Best Blogger Tips

Input a number from keyboard and prints its table in 2 ways
  • In reverse order
  • In correct order
1. In reverse order
void main()
int a,b,c;

read more

C Program: Design the Program for the given Structure

Engg.... | 01:39 | | Best Blogger Tips

If one for statement is completely placed with in the other.

  • One loop must completely be placed inside the other loop means no overlapping of loops.
  • Each loop must have different variables.
read more

C Program: Swaping of two Numbers using Comma Operator

Engg.... | 06:27 | | Best Blogger Tips

Interchange or swaping of two values using comma operator :
void main()
int a,b,c;
a=10, b=20;

read more

Explanation of Bitwise C Operator with Examples

Engg.... | 00:53 | | | Best Blogger Tips
C bitwise operator

Bitwise operator:
  • x=x<<2   means new value of x is shifted left by 2 positions
  • y=y>>3   means new value of y is shifted right by 3 positions
Program of bitwise operator:

void main()
int x,y;

read more

C Program: Enter a Character and Check the Character is Vowel or Not by using else-if Statement

Engg.... | 05:39 | | Best Blogger Tips
vowels and consonants

Enter a character from keyboard and check the character is vowel or not by using else-if statement:

void main()
char m;

read more

C Program: Make a Calculator by using switch Statement

Engg.... | 09:29 | | | Best Blogger Tips

Switch statement is very useful for creating a calculator which performs following operations: Addition, Substraction, Multiplication, Division and Modulus

void main()
char a,b,c,d;
printf("Enter the values of a and b:");
scanf("%d%d" ,&a,&b);
printf(" Enter your choice between 1 to 5 /n");
scanf("%d , &d);
read more

C Program: Check the Character Vowel or Not by using switch Statement

Engg.... | 09:13 | | | Best Blogger Tips

Write a program to Enter a character from keyboard and check the character is vowel or not by using 2 methods:
  1. switch statement
  2. else-if statement

1. By using switch statement:
void main()
char k;                                          // declaration of character variable k
printf("Enter the value of k:");

read more

C Program: Find the Largest Number by using Logic AND(&&) Operator:

Engg.... | 01:43 | | | Best Blogger Tips
AND operator

Write a program to Input the values of three numbers and find out largest number by using logical AND operator(&&):
Write a program to Input the values of three numbers and find out largest number by using multiple if statements:

void main()
int a,b,c;

read more

Overview of C Increment and Decrement Operator with Example

Engg.... | 01:24 | | | | Best Blogger Tips
Increment operator
Increment operator:
  • var ++ => Indicates post increment. That is use the value of var first and then increment.
  • ++ var => indicates pre increment.That is the value of var must be incremented before it is used. 
read more

C Program: Find out the Largest Number by using Nested if Statement:

Engg.... | 00:19 | | | Best Blogger Tips
largest number program
Enter the values of three numbers and find out the largest number using nested if ( means if-else contain multiple if-else statements ):

void main()
int a,b,c;

read more

C Program: Find out the Largest Number by using Ternary Operator:

Engg.... | 00:00 | | | Best Blogger Tips
ternary operator
Enter the values of two numbers and find out largest number using conditional
operator(Ternary operator):  

#include<stdio.h>         //  Header File  
void main()                  // Main function of every C program
int a,b,c;

read more

C Program: Enter Two Numbers and Check both Numbers Equal or Not

Engg.... | 07:17 | | Best Blogger Tips
C program

Write a program to Enter the values of Two Numbers and check wheather Two Numbers are 
Equal or Not :

int m,n;

read more

What Is scanf() and printf() Function

Engg.... | 01:31 | | | Best Blogger Tips
C functions

C is a functional programming language. C provides library of functions to perform input-output operations. This library is called a standard input-output library. It is denoted by stdio. The header file containing such library functions is called stdio.h. Some standard input-output functions in C are:
  1. printf()
  2. scanf()
  3. gets()
  4. puts()
  5. getch()
  6. getchar()
  7. putchar()
  8. getche()

read more

C Program: Addition of Two Numbers With or With Out Using scanf() Function

Engg.... | 02:16 | | Best Blogger Tips
c program

  1. With the help of scanf() function
  2. without scanf() function
1. Without scanf() Function

void main()

read more

C Program: Enter a Number and Determine It Is Even or Odd Number

Engg.... | 10:08 | | Best Blogger Tips
C program image

This program is based on conditional statement that is if-else.
Write a Program: Enter a Number and Determine wheather it is Even or Odd Number.

// Header file contain input output functions.
// Header file contain clrscr() and getch() functions.
void main()                                   
// C program execution start with this main function. No C program can execute without this main function.
int a,b;                                         
// Declare two variables a and b of integer data type.
// Clear the result of previous output.
read more

Detailed Discription of C Language Operators section-2

Engg.... | 00:46 | | | Best Blogger Tips
C operators

  • Relational operators are used to compare two operands. 
  • Result is either a TRUE or FALSE value. 
  • The value of TRUE is 1(non zero) and the value of FALSE is 0(zero).

        Less Than
      Greater Than
   Less Than or equal to
  Greater Than or equal to 
          Equal to
        Not Equal to

read more

Detailed Discription of C Language Operators Section-1

Engg.... | 00:22 | | | Best Blogger Tips
C operators

OPERATOR: Operator is a symbol that perform any operation.
OPERAND: On which operation is to be performed.

a+b Where + is an Operator and a, b are the Operands
C contains a rich set of operators. Operators used to perform basic airthmatic operations, manipulation of bits ,comparison etc. Operators operate on a single operand or two operands. C operators divided into 3 categories:
  1. Unary operators
  2. Binary operators
  3. Ternary operators
So Lets have a look on all Operators one by one:

read more

List of Data Types of C And C++ Language

Engg.... | 03:11 | | | Best Blogger Tips

  • Data types indicate what type of value you can store in a variable.
  • Data type may be Numeric or Non Numeric in Nature. 
In C data types are divided into 3 categories:
  1. User define data types
  2. Built-in data types
  3. Derived data types
Built-in data types are basic or primitive data types. There are 4 built-in data types in C
  1. Int
  2. Float
  3. Char
  4. Double
Brief Explanation:

read more

How To Create a Web Page Using HTML Language

Engg.... | 02:18 | | Best Blogger Tips
html structure image

HTML document are structured into two parts:
  1. HEAD
  2. BODY
  • HEAD: Head contain information about the document that is not displayed with the document such as TITLE.
  • BODY: contains the text of the body that is material to be displayed with the document.
read more

Features of Object Oriented Programming (OOP)

Engg.... | 01:37 | | Best Blogger Tips
features of oop

  1. Object
  2. Class
  3. Data Hiding and Encapsulation
  4. Dynamic Binding
  5. Message Passing
  6. Inheritance
  7. Polymorphism
Brief Explanation of Points:

OBJECT: Object is a collection of number of entities. Objects take up space in the memory. Objects are instances of classes. When a program is executed , the objects interact by sending messages to one another. Each object contain data and code to manipulate the data. Objects can interact without having know details of each others data or code. 

read more

Introduction of Basic Concepts of HTML Language

Engg.... | 01:18 | | Best Blogger Tips
html language image

HTML Stands for Hypertext Markup Language.
  • Hypertext: Text used to link a Web Page.
  • Markup: It means highlighting text either by underlining or displaying it in different colors or both.
  • Language: It refers to the way of communication between webpages , which has its own syntax and rules. 

HTML is a Language which is used for describing Web Pages. HTML uses Markup Tags to describe Web Pages.

read more

Overview of Constants and Variables of C Language

Engg.... | 01:24 | | Best Blogger Tips
 c constants

The quantity which does not change during the execution of program is called constant.

  • Numeric constants
  • Non numeric constants
  • Integer constant
  • Floating point constants
  • Character constants
  • String constants

read more

Difference Between OOP and POP

Engg.... | 02:18 | | | | Best Blogger Tips

Difference Between OOP and POP


  • Top down approach in program design.
  • Bottom up approach in program design.
  • No access specifiers are used. Example: In structure all the members are public.
  • Public,Private,protected Access specifiers are used. Example:In class Data is Private and Functions are public.
  • Larger programs are divided into Functions.
  • Larger programs are divided into entites known as objects.
  • Most of the Functions share global data means data move openly around the system from one Function to another Function.
  • Data is private and Functions inside class can only access the private data.
  • Example of POP is C, FORTRAN.
  • Example of OOP is C++.
  • In POP operator can not be overloaded.
  • In OOP operator can be overloaded by using the concept of operator overloading.
  • Emphasis on doing algorithm means importance is given to the sequence of things to be done i.e algorithm.
  • Importance is given to the data.
  • Objects are very difficult to add in POP.
  • Objects ( i.e data and Functions ) are very easy to add at any time whenever necessary.
  • Procedural in nature.
  • Non-Procedural in nature.

read more

Object Oriented Programming(OOP)

Engg.... | 02:52 | | Best Blogger Tips
object oriented programming oop

OBJECT ORIENTED PROGRAMMING(OOP): OOP is developed in order to remove the drawbacks of POP. In OOP, data does not allow to move freely around the system. Data ties more closely to the function that operate on it. OOP allow decomposition of program into a number of entities called objects and then build data and functions around these objects. Object consist of data and object. The data of an object can be accessed only by the functions associated with that object. Functions of one object can access the functions of another objects as shown in figure. External function can not access the data of an object.

read more

How to Prepare Study Shedule of IIT-JEE Tips and Timing Tricks

Engg.... | 09:13 | Best Blogger Tips
iit-jee image

Always Keep In Mind THINK AHEAD STAY AHEAD thought to generate confidence among it for crossing a Barriar. So I am providing you some useful tips to cross the barriar that is IIT-JEE exam.INDIAN INSTITUTE OF TECHNOLOGY-JOINT ENTRANCE EXAM(IIT-JEE) exam held across the country on 8 April , STUDY TIPS AND TRICKS BLOG offers last-minute tips on how to crack the test. With over 5 lakh students exepected to appear for IIT-JEE exam this year, the competition is going to be tough. So how do you prepare youself for a cracking performance? Some tips and Tricks are:

read more

Procedure Oriented Programming(POP)

Engg.... | 02:09 | | | Best Blogger Tips
COBOL,FORTRAN and C is commonly known as procedure oriented programming(POP). In procedure oriented approach the problem is viewed as a sequence of things to be done such as reading,calculating and printing. A number of functions are required to perform or accomplish these tasks. The main focus is on function. The technique of hierarchical decomposition has been used to specify the tasks to be completed for solving a problem as shown in figure 2.

read more