People were waiting a lot to see and learn the continuations of data type.. We are coming with new speed to let you people happy always.. Keep in mind that floats, Strings, Double, Character and integer are data types which will be working with..
You need to know where exactly you must put the suitable data type into your code..
For example 2.3, 0.5, 9.4 i will call them floats just because it is number with decimals.. so, for float data type is suitable for numbers with decimals.. float v3 = 2.3; or float v3;
don't forget about ending you program statement with semicolon (;).
Strings is for group of characters and group of characters you get word.. for example.. apple made of 5 characters which are a, p, p, l, and e.. in character we can code like char ch[4] = {'a''p''p''l''e'};. in string we can code like String ch = "apple"; remember that character having single quotient and string having double quotients.
integer is for number without decimals... i can say whole number like ...-1, 0, 1, .... so you can code like int num;
so, one step ahead of programming.. and there are many things which surrounds us.. it is great because it is the beginning.. and c is easy language to learn.. you are welcome
No comments:
Post a Comment