Data Types in C Programming in Hindi part 1 | Learn Data Types in C Language
ฝัง
- เผยแพร่เมื่อ 27 ก.พ. 2023
- Learn C Programming: Gain Real-World Skills with Hands-On Projects: techvidvan.com/courses/c-prog...
When you use a computer to solve problems, you need to store and manipulate different kinds of data. Data types in C are used to define which type of data that specific variable can hold.
The most basic data type in C is called the "int" or integer data type. Integers are whole numbers like 5, 8, 9, and so on. You can use integers to store the age of a person, the number of apples in a basket, or the score in a game.
Another data type is called "float" or floating-point numbers. These are decimal numbers like 1.2, 3.14, or 0.5. You can use floating-point numbers to store things like the weight of an object or the price of a product.
A "char" data type is used to store a single character such as a letter or a symbol. For example, you can use a char to store the first letter of your name, or the symbol that represents a smiley face.
There is also a "double" data type that can store larger decimal numbers than the float data type. Double is often used when more precision is required.
In addition to these basic data types, C has other data types such as arrays, structures, and pointers.
Understanding data types in C is important because it helps you to choose the right type of variable to store your data, and it helps the computer to allocate memory appropriately. By choosing the correct data type, you can also avoid errors and ensure that your program runs smoothly.
📌 Website: data-flair.training/
📌 Telegram: t.me/dataflair
📌 Twitter: / dataflairws
📌 LinkedIn: / dataflair-web-services...
📌 Instagram: / dataflair
📌 Facebook: / dataflairws
#share #educationalvideos #technologygyan #cprogramminglanguage #datatypes
Get ready for top companies with our placement-ready C Programming full course on TechVidvan: techvidvan.com/courses/c-programming-course-hindi/?campaign=ytcd&ref=1374
Apart from structured learning, you will get:
- Study Material
- Notes
- Practical Codes
- Quizzes & Tests
- Interview Questions
- Real-time Projects
- Videos in Sequential Order
- Video Playlist
- Roadmap to get job
- Job updates
- Industry-recognized Certificate
In case of any queries, please contact us on 8451097879 / info@techvidvan.com
Thank you sir apka video dekhne ke bad C language Pura easy ho gya❤❤❤❤❤
Your enthusiasm is the best motivation! It means a lot to me that you enjoyed the C Programming Course videos and found them helpful. Please help us in our mission of free education by sharing these free courses with your friends.
Keep Learning with DataFlair.😊
and thankyou so much ☺️😊
fantastic ❤️👍
thanks sir
Sir why this code is not running in vs code?
superb sir👍👍👍👍🙏
Thanks, Keep visiting DataFlair and keep learning new technologies.
Sir i think clrscr(); used before void main not in the driver code because it is giving error in dev c+
use system("cls") or declare #define clrsr() system("cls") at the place of header file
Ser please provide playlist for data structures c++
We have created a playlist on DataFlair website (link in description). Apart from structured learning, you will get:
📌 Study Material
📌 Notes
📌 Practical Codes
📌 Quizzes
📌 Interview Questions
📌 Real-time Projects
📌 Videos in Sequential Order
📌 Video Playlist
📌 Roadmap to get job
📌 Job updates
📌 Free Certificate
But sir i have result 32765+5=32770 instead of -32766 in vs code.Please elaborate this confusion?
reply plz sir
Because in VSCode, int is of 4 bytes, try in turbo C++
Hello Sir but my output is mismatch for you output pls check pls ask why programmer int main()
{
int a=30,b=90,c=75;
printf("%d");
}
output 12326352
every time is different
Attempt the code in the Turbo C++ compiler.
VS code ka kya alg likhna hoga??
Apko vs code ke according hi pdhana chahiye firrr
What if
int a=65536
a= a+5
Output?
It depends on signed and unsinged int
Sir can you provide the notes
We have created a playlist on DataFlair website (link in description). Apart from structured learning, you will get:
- Study Material
- Notes
- Practical Codes
- Quizzes
- Interview Questions
- Real-time Projects
- Videos in Sequential Order
- Video Playlist
- Roadmap to get job
- Job updates
- Free Certificate
Sir 1,22,3333,44,5,ka triangle program
We will start working on this topics in a couple of weeks. Thanks for your patience.