auto and decltype Keywords in C++ | C++ में auto और decltype कीवर्ड
C++ provides several features to make programming easier and more efficient. The auto and decltype keywords were introduced in C++11 to support automatic type deduction. They help programmers determine the data type of variables and expressions without writing lengthy type declarations. C++ में Programming को आसान और अधिक Efficient बनाने के लिए कई Features दिए गए हैं। auto और decltype Keywords को C++11 में Automatic Type Deduction की सुविधा प्रदान करने के लिए Introduce किया गया था। इनकी सहायता से Programmer लंबे Data Type Declarations लिखे बिना Variables और Expressions के Data Type निर्धारित कर सकते हैं। 1. auto Keyword in C++ | C++ में auto कीवर्ड The auto keyword tells the compiler to automatically determine the data type of a variable from its initializer. The compiler identifies the appropriate type based on the expression used to initialize the variable. C++ में auto Keyword Compiler को Variable के Initializer के आधार पर उसका Data Type Automatically निर्धारित करने के लिए कहत...