Explanation of Local and Global Variables with Example

Engg.... | 04:32 | | | Best Blogger Tips
Local and Global variables:
Local and Global variables:

Local variables: 
Variable whose existence is known only to the main program or functions are called local variables. Local variables are declared with in the main program or a function.

Global variables: 
Variables whose existence is known to the both main() as well as other functions are called global variables. Global variables are declared outside the main() and other functions.
The following Program illustrates the concept of both local as well as global variables.

read more

WAP of C Language that illustrates the Function with no arguments and no Return values

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

Functions with no Arguments and no Return values:
The called Function does not receive any data from the calling Function and it does not return any data back to the calling Function. Hence, there is no data transfer between the calling Function and called Function. So, let us understand this with the help of Program:

Statement of C Program: This Program illustrates the Function with no Arguments and no Return value:
read more

WAP of C Language that illustrates the Function with no Arguments and Return values

Engg.... | 20:01 | | Best Blogger Tips
Category of Functions

Functions with no Arguments and Return value:
The called Function does not recieve any data from the calling Function. It is also a one-way data communication between the calling Function and the called Function. So let us understand this with the help of Program:

Statement of C Program: This Program illustrates the Function with no Arguments and Return values:

read more

Detailed Discription of Category of Functions with Examples

Engg.... | 21:23 | | | Best Blogger Tips
Category of Functions

Category of Functions:
We have some other type of Functions where arguments and return value may be present or absent. Such functions can be categorised into:
  1. Function with arguments but no return value.
  2. Function with no arguments and return value.
  3. Functions with no arguments and no return values

So Let's have a look on Category of Functions one by one:

1. Function with Arguments but no return value: 
Here the called Function recieves the data from the calling function but the called function does not return any value back to the calling Function.So, let us understand with the help of Program:

read more

WAP of C Languge Function that Calculates the Square of a accepted number

Engg.... | 19:39 | | Best Blogger Tips
Square

Arguments and Parameters:
Arguments and parameters are variables used in a Function. Variables used in a Function calling( Function reference) are called Arguments. These are written within the parentheses followed by the name of the Function.
Variables used in the Function definition are called Parameters. Parameters must be written within the parenthesis followed by the name of the Function, in the Function Definition.So let us understand Parameters and Arguments with the help of Program.

Statement of C Program: This program accepts a Number and prints its Square.

read more

Important points about C Language Function

Engg.... | 00:45 | | Best Blogger Tips
Key Points

We know that Function is very Important part of C Language. With the help of Function Programs are easy to write and understand. So there are some Key points to remember when deal with C Language Function: 
  • A Function gets called when the Function name is followed by a semicolon(;).
Example:

int main()
{
india();                 /* Function calling */
}
read more

How to Crack a Job interview Successfully [Top 15 Tips and Tricks]

Engg.... | 18:20 | Best Blogger Tips
Job Interview

To have a successful interveiw and to make a lasting impression, the Body Language is very important. Postures and body movements are unconsious forms of expression and therefore they have a language of their own. We are unaware of our gestures and body movements most of the time, but other people can notice our gestures and movements if they pay attention and know what they mean.
                                                        An important thing to be noted here is that body language applies not only to the Interviewer but also to the Interviewee. Also, note that these gestures may happen throughout the conversion or a discussion and they change as the conversation progresses.

read more

WAP to determine whether the Number is Prime or Not by using while and if Statement

Engg.... | 21:56 | | Best Blogger Tips
C break Statement
Break Statement:
There are many situations where we want to jump out of a loop instantly. The keyword break allows us to do this. When break is encountered inside any loop, control automatically passes to the first statement after the loop. So Let us understand the break statement with the help of Program :-

Statement of C Program: This Program accepts a number and determined whether the number is Prime or not.

Prime Number:
A Prime number is one, which is divisible by 1 or itself.  Ex: 3 , 5 , 7 , 11 , 13 , 17 , 23 , 19 etc.

read more

WAP of C Language that calls many Functions

Engg.... | 22:43 | | Best Blogger Tips
C Function Program

Statement of C Program : This Program prints the Messages or Instructions when different Functions calls: 

#include<stdio.h>

void England();                                      /* Function declaration */
void Australia();                                     /* Function declaration */
void India();                                           /* Function declaration */

read more