latest Post

Variable Declaration in C Program

Program :


#include <stdio.h>
#include <conio.h>
// Variable declaration:
int a, b;

int main ()
{
/* variable definition: */
int a, b;
int c;
/* actual initialization */
a = 10;
b = 20;
c = a + b;
clrscr();
printf("value of c : %d \n", c);
getch();
return 0;
}

Output :



About Open Learning Creative

Open Learning Creative
Recommended Posts × +

0 comments:

Post a Comment

PHP Registration form using GET, POST Methods with example

Program : HTML Code <html> <head> <title>Student Info</title> </head> <body><center> ...