#include<stdio.h>
void main()
{
int a = 10; //variable 'a' of type integer assigned value 10
printf("The value of a is %d",a);
getch();
}
Note : In the forth line the content followed by double forward slash '//' is a comment entry symbol. It is not a part of the actual code and used just to increase the readability of a program...
void main()
{
int a = 10; //variable 'a' of type integer assigned value 10
printf("The value of a is %d",a);
getch();
}
Note : In the forth line the content followed by double forward slash '//' is a comment entry symbol. It is not a part of the actual code and used just to increase the readability of a program...
No comments:
Post a Comment