Sunday, 30 August 2015

Addition in C Program With Example

Addition Program in c Language With Example and .How to Program Will Start Compile and Variable Declare and Data Type . Logic Explain in C Program With Example Output.

Addition : In Computer Programming Language Two Variable are plus ( + ) Operation  perform . Call as addition Operation in C program.

Syntax

int main()
{
datatype     Variable ;
---------------------;
---------------------;
---------------------;
Logic ;
}   

Addition Program in c 

#include<stdio.h>
#include<conio.h>
int main()
{                                                 

      int a,b,c;                              
      printf("Enter a value : ");
      scanf("%d",&a);
      printf("Enter b value : ");
      scanf("%d",&b);
      c=a+b;                 
      printf ("c value is : %d\n",c);
      return 0;
}


Output

Enter a value :5
Enter b value :5
c value is : 10

Like To Without plus ( + ) Operation addition in C Program 

Saturday, 15 August 2015

Functions in c Programming Language

Functions in c Program 

Functions are defined as block of Code. The Function perform a number of predefined commands to accomplish something productive.That's , means Create a Own functions. Programmer like Writes will generally require a prototype. 

Example Program

#include<stdio.h>
#include<conio.h>
void display();

int main()

{
display();
getch();
return 0;
}
void display()
{
printf("Welcome");
}

Output

welcome 

Explain : The above Functions Program compiler start the initial state to call the display( ). There the display function is printf having some text message. Display the Output.

Pointers in C Programming Language

Pointer in C Programming Language
A Pointer is a programming Language Object, Whose Value refers to another value stored else where in the computer memory using it's address. 

First Known As two Various in Pointers .  

1. &  Address of Operator.
2. *  Value Of Operator.

Simple To Understand :

1. if have a two variables a,b.
2.a ,b having few numbers for storage address.
3. if a storage address are having some values ( content ).
4.b having storage address first second point , the address numbers are a storage address values.
Program
#include<stdio.h> 
#include<conio.h>
int main()
{

int x=10;
int *j;
j=&x;

printf(" The Value of x is %d\n",x);
printf(" The Address of X is %p\n",&x);
printf("The value of x is *(&x)%d\n\n",*(&x));


printf(" The memory address storage pointer j is %P\n",j);
printf(" The value of pointer by the pointer  of j is %d\n",*j);
printf("The address of pointer j is %p",&j);

getch();
return 0;

}

Output
The Value of x is 10
The Address of X is 000000000023FE4C
The value of x is *(&x) 10

The memory address storage pointer j is 000000000023FE4C
The value of pointer by the pointer  of j is 10
The address of pointer j is 000000000023FE40





JNTUK 2-2 (R10, R13, R07 ) Reg/supply Results are Released

Jntuk 2-2 ( R13, R10, R07 ) Reg/ supply may 2015 Results Are Released 


                                                       Jntuk 2-2 Results ( Click Here )  ( Server Not  Work  Wait  )


Note : Every One Get Results in Collage only . Because server are Working Slow . After Some Time  Check Results On Internet . ( Links Are not Working )



Friday, 14 August 2015

Array in C Language

Array in C Programming Language Full Information and With Some Examples

Array: - An array in c programming Language Act to Store Related Data Under a Single Variable name With an index, also known as a Subscript.

Simply:   a list or ordered grouping for variables of the same type ( or ) Collection of Similar Elements.

Program For Example
#include<stdio.h> 
#include<conio.h>
int main()
{

int marks[]={25,56,65,45,21};

float avg[2];
avg[0]=65.56;
avg[1]=32.52;

printf("%d\n",marks[0]);
printf("%d\n",marks[1]);

return 0;

}

Output
25
56

Explain : Here, 25 and 56 values coming outputs. Because, array list start [ 0 1 2 3 4 5.. ] .in above program [ 0 ] place insert 25 ,  [ 1 ] place insert 56. See printf  Display Only marks[0],marks[1]. Then Display the Array list select this Output. 

Thursday, 13 August 2015

Jntuk 2-2 May 2015 ( R13, R10, R07 ) Results Released Information

Jntuk Supply and Regular Examination Results are Released information. The All Papers are correction is Completed. Estimated Date is For Jntuk 2-2 may 2015 Results.


Released Date :


18/8/2015

Note :  Please, Read The Date is Not Official. 

Wednesday, 12 August 2015

Constants Variables and Keywords in c Language

Alphabets, Numbers are Special Symbols are Combined to from Constants, Variables and Keywords 
Constants
A Constant is an entity that doesn't change. 

Types Of Constants: 

  • 1.Integer Constant
  • 2.Real Constant
  • 3.Character Constant

Integer Constant : The integer Constants are contain  " Number Only ".    
Ex: 25, 55, 65.

Real Constant: The Real Constants are Contain " Real Number are float Number ".
Ex: 25.52, 0.05,0.25.

Character Constant: The Character Constants are Contains " Character Constants  (or) alphabets " .
Ex: 'a', 'A', 'z'.

Variables
1. An Variable is an entity that does change.
2. In Programming Language The Variable Used to Store the Data ( Value ).

Ex:   int  x = 10;

Here, x is Variable , 10 is integer.


Keywords
1. By Using Keywords We Can Constant The Meaning Full Statements.
2. Here, The Some Keywords Already Using The C Compiler.

Ex:  break, for, if, int, float, char, ......

3. Keywords Can't be Used as Variable names.


Conclusion

Type                                                  Keyword                                        Example

Integer                                                 int                                           int a;      int age;

Real  (or) floating Point                       float                                        float x;    float average;  

Character                                           char                                         char s;     char  initial;                         





Tuesday, 11 August 2015

Hello World Program in c Language

Hello World Program , This is Basic Program . Because , Every One Understand Simple To Hard . Now , Here , It's Small Program. But, The Program Can Be Derived No.of Instructions just in this program.


Program
#include<stdio.h>
#include<conio.h>
int main() 
{
Printf("Hello World !!");
}


Output
Hello World !! 


Explain Program:-   The above Program having <stdio.h> is Header file . Every One Call the preprocessor. What is use <stdio.h> ? Can Use a Program printf and scanf operations are include the this <stdio.h>. That's Call This is  " #include<stdio.h> " .

 " int main() " is the method.   " { " Start the Program in the flower brackets . Ends With " } ".

Thursday, 6 August 2015

Jntuk 3rd Year 2 Sem May 2015 Exam Results

Jntuk Exam Result 3rd year 2 sem 



Note : Wait For Few Min. Because, The Server is Very Slow Process. Check Marks Results...


logo