Variable & Datatype for C-programming 5 Variable:- Whose value change is known as variable.You can use some specific variable. Ex:-a,b,c A,B,C a1,b2 But 1a,2b, space, special character are not allowed. Underscore is allowed. Datatype:- Before declaration variable you need to define the type of variable i.e. integer, character, float etc Variable declaration:- You can define a variable in following way. Syntax:- datatype variablename; Eg:-int x; int a; float q; Variable intialization:- In this step you have to give the value of variable. During character intialization write character within the ' ' Eg:-int x=1; or int x; x=1; ...
This was very useful & precise. Keep doing the great work Sir
ReplyDeleteThanks sir this page is very helpful
ReplyDeleteNice
ReplyDelete