If You Are From The 09 Batch Then Read This >>

This Site is created for the Bharati Vidyapeeth's BCA 09 Batch..and hence everyone from you are requested to send your email ID at abhilash238650@gmail.com..Owner will send you a request to your Email-ID and after accepting it even you can post your views, day to day experiences and class works on this blog.
Visit owner's blog at
www.bloggerabhilash.info

Wednesday, January 18, 2012

Basic of C language

Every C program is made of function and every function consist of instructions called statement.


Structure of C Program.
#include //stdio.h is the header file
main() // main function is the first function which is executed by a C program.
All C statements are written within main function.
{
// All C statements.
}




Functions
Every C program consists of one or more modules called functions. One of the functions must be called main( ).
The program will always begin by executing the main function, which may access other functions.
Any other function definitions must be defined separately, either ahead of or after main.
A function name is always followed by a pair of parenthesis, namely, ( ). And all function statements are enclosed within a pair of braces { }.


Example of C program to calculate area of circle:

#include
#include
void main()
{
float a;
int r=2;
float pi=3.14;
a=pi*r*r;
printf("%d",a);
getch();
}


# is the preprocessor directive which commands that the content of file should be included at the time of compilation.

< stdio.h> and is the header file which contains all input and output functions like scanf(), printf() which are frequently used in c programs.
main() is the first function which is executed by a C program.


1. float a and int r=2. This statement declares 2 variables a and r of type integer and float. r has been assigned a value of 2.

2.float pi=3.14 -> this statement declare pi as float and value 3.14 has been assigned to it.

3. a = pi * r *r; -> This statement computes the area of circle and assign it to variable a.

4. printf("%f",a); -> This statement prints the area of circle using printf function.

5. getch(); -> It is used to get character from user.

Monday, January 16, 2012

New Time Table of Semester -6 !!!

Monday (AT 9 O CLOCK): 

MCM
MCM
E-COMM
CPD
ISA-2
ITES

Tuesday:

COMP LAB
ITES
ISA-2

Wednesday (AT 9 O CLOCK):

MCM
MCM
ISA-2
ITES
CPD
E-COMM

Thursday (AT 9 O CLOCK):

PROJECT LAB
CPD
E-COMM

Friday:

CPD
E-COMM
ISA-2
ITES

Sunday, January 15, 2012

MAHARASHTRA MCA CET

For all the students who wants to opt for Maharashtra MCA CET examination in the year 2012 can go on the following links and can check out the information:


Thursday, January 12, 2012

VB tutorial

Do…loop is used to execute a block of statements for indefinite number of times. There are several variations of Do...Loop statement.
Each variation evaluates a numeric condition to determine whether to continue execution or not.
Syntax:
Do While
statements…
Loop
Note that:
1.When Visual Basic executes Do While loop, it first tests condition.
2.If condition is False (zero), it skips past all the statements.
3.If it's True (nonzero), Visual Basic executes the statements and then goes back to the Do While statement and tests the condition again.
Example:
Do While count<=5
count = count + 1
Loop
Here loop increments the value of count until it becomes equal or less than 5.
Another variation of Do...Loop statement executes the statement first and then tests condition after each execution. This variation guarantees at least one execution of statements.
Syntax:
Do
Loop While

Just Type The Keyword To Search Your Answer -- >>