Рет қаралды 33,932
JOIN ME
-----
KZfaq 🎬 / @cppnuts
Patreon 🚀 / cppnuts
COMPLETE PLAYLIST
------------
C++ Tutorial For Beginners: • Introduction To C++
STL (Standard Template Library): • STL In C++
ThreadIng In C++: • Multithreading In C++
Data Structures: • Data Structure
Algorithms: • Binary Search
Design Patterns: • Factory Design Pattern...
Smart Pointers: • Smart Pointer In C++
C++14: • Digit Separator In C++
C++17: • std string_view in C++...
C++ All Type Casts: • static_cast In C++
INTERVIEW PLAYLIST
------------
C++ Interview Q&A: • Structural Padding & P...
C++ Interview Q&A For Experienced: • How delete[] Knows How...
Linked List Interview Questions: • Find Kth Node From Bac...
BST Interview Questions: • Search Element In Bina...
Array Interview Questions: • Reverse An Array
String Interview Questions: • Check String Is Palind...
Bit Manipulation Questions: • Find Set Bit In Intege...
Binary Tree Interview Question: • Invert Binary Tree
Sorting Algorithms: • Bubble Sort
C++ MCQ: • Video
C MCQ: • What printf returns af...
C Interview Questions: • Designated Initializat...
QUICK SHORT VIDEOS
-------------
C++ Short : • C++ Short Videos
C Short : • Shorts C Programming MCQ
In this video we will learn about the "size_t" data type in C/C++ programming language.
POINTS:
1. It is used to represent size of objects/variables in bytes.
2. sizeof returns this data type only.
3. It guarantee to be big enough to contain the size of the biggest object that system can handle.
a. If compiler is 32 bit: IT IS typedef of unsigned int
b. If compiler is 64 bit: IT IS typedef of unsigned long long.
4. It is never negative.
5. Standard functions use this type for count/number.
a. malloc (size_t)
b. memcpy (destination, source, size_t)
c. size_t strlen (const char*)
#cprogramming #cpp #programming #tutorial #computerscience #softwareengineering