What is the meaning of this"Variables must also be declared as a data type before they are used."? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the meaning of this"Variables must also be declared as a data type before they are used."?

What is declaration ? And did we declare the data type in the program?

10th Aug 2019, 2:23 AM
Keshetti Sreekanth
4 Answers
0
But actually in the program of data type did we declare the data types?
10th Aug 2019, 2:43 AM
Keshetti Sreekanth
0
#include <studio.h> int main ( ) { Printf ("int: %d \n" , sizeof (int)); return 0; } This the program I didn't understand that what is declaration and where we declared the data type?
10th Aug 2019, 2:50 AM
Keshetti Sreekanth
0
Thank you for your answer ,but am not getting clarity ,after I completed my data types I entered into variables there it is stated that"Variables must also be declared as a data type before they are used". I understood declaration of variables that assigning values. But what is declaration in data type program the above I mentioned??
10th Aug 2019, 2:55 AM
Keshetti Sreekanth
0
How can I get answered from sonic?
10th Aug 2019, 2:58 AM
Keshetti Sreekanth