{"id":112983,"date":"2026-06-07T15:27:10","date_gmt":"2026-06-07T09:57:10","guid":{"rendered":"https:\/\/www.guvi.in\/blog\/?p=112983"},"modified":"2026-06-07T15:27:12","modified_gmt":"2026-06-07T09:57:12","slug":"accumulate-function-in-cpp","status":"publish","type":"post","link":"https:\/\/www.guvi.in\/blog\/accumulate-function-in-cpp\/","title":{"rendered":"Accumulate Function in C++: Syntax, Examples, Use Cases"},"content":{"rendered":"\n<p>accumulate() is one of the most useful STL functions in C++ for cumulative operations on elements in arrays, vectors, and containers. Instead of writing manual loops for summation or aggregation, developers can use a cleaner, more efficient STL-based approach.<\/p>\n\n\n\n<p>From competitive programming to backend systems and analytics applications, accumulate() helps reduce boilerplate code and improve readability.<\/p>\n\n\n\n<p>In this blog, you will learn how the accumulate() function works in C++, its syntax, parameters, examples, time complexity, and practical use cases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is the Accumulate Function in C++?<\/strong><\/h2>\n\n\n\n<p>The accumulate() function in C++ is an STL algorithm used to calculate the cumulative result of elements in a range.<\/p>\n\n\n\n<p>By default, it performs addition, but developers can also customize the operation using functions or lambda expressions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Header File Required for accumulate()<\/strong><\/h2>\n\n\n\n<p>To use accumulate() in C++, you must include the &lt;numeric&gt; header file.<\/p>\n\n\n\n<p>#include &lt;numeric&gt;<\/p>\n\n\n\n<p>Without this header, the compiler will not recognize the function.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Syntax of accumulate()<\/strong><\/h2>\n\n\n\n<p>The general syntax of accumulate() is:<\/p>\n\n\n\n<p>accumulate(start_iterator, end_iterator, initial_value);<\/p>\n\n\n\n<p>You can also use a custom operation:<\/p>\n\n\n\n<p>accumulate(start_iterator, end_iterator, initial_value, operation);<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Parameters of accumulate()<\/strong><\/h2>\n\n\n\n<p>The accumulate() function accepts the following parameters:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Start Iterator<\/strong><\/h3>\n\n\n\n<p>Represents the beginning position of the range.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. End Iterator<\/strong><\/h3>\n\n\n\n<p>Represents the ending position of the range.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Initial Value<\/strong><\/h3>\n\n\n\n<p>The starting value used during accumulation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Operation&nbsp;<\/strong><\/h3>\n\n\n\n<p>A custom function or lambda expression is used instead of the default addition.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Return Value of accumulate()<\/strong><\/h2>\n\n\n\n<p>The function returns the final accumulated result after processing all elements in the specified range.<\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<p>int result = accumulate(arr, arr + n, 0);<\/p>\n\n\n\n<p>The variable result stores the final sum.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Basic Example of accumulate()<\/strong><\/h2>\n\n\n\n<p>Let us see a simple example.<\/p>\n\n\n\n<p>#include &lt;iostream&gt;<\/p>\n\n\n\n<p>#include &lt;numeric&gt;<\/p>\n\n\n\n<p>using namespace std;<\/p>\n\n\n\n<p>int main() {<\/p>\n\n\n\n<p>int arr[] = {1, 2, 3, 4, 5};<\/p>\n\n\n\n<p>int sum = accumulate(arr, arr + 5, 0);<\/p>\n\n\n\n<p>cout &lt;&lt; &#8220;Sum = &#8221; &lt;&lt; sum;<\/p>\n\n\n\n<p>return 0;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Output<\/strong><\/h3>\n\n\n\n<p>Sum = 15<\/p>\n\n\n\n<p>Here:<\/p>\n\n\n\n<ul>\n<li>arr is the array.<\/li>\n\n\n\n<li>arr + 5 points to the end of the array.<\/li>\n\n\n\n<li>0 is the initial value.<\/li>\n<\/ul>\n\n\n\n<p>The function adds all elements and returns the final sum.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Using accumulate() with Arrays<\/strong><\/h2>\n\n\n\n<p>accumulate() works efficiently with arrays.<\/p>\n\n\n\n<p>#include &lt;iostream&gt;<\/p>\n\n\n\n<p>#include &lt;numeric&gt;<\/p>\n\n\n\n<p>using namespace std;<\/p>\n\n\n\n<p>int main() {<\/p>\n\n\n\n<p>int marks[] = {85, 90, 78, 92};<\/p>\n\n\n\n<p>int total = accumulate(marks, marks + 4, 0);<\/p>\n\n\n\n<p>cout &lt;&lt; &#8220;Total Marks = &#8221; &lt;&lt; total;<\/p>\n\n\n\n<p>return 0;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Output<\/strong><\/h3>\n\n\n\n<p>Total Marks = 345<\/p>\n\n\n\n<p>This is commonly used in score calculation and analytics applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Using accumulate() with Vectors<\/strong><\/h2>\n\n\n\n<p>The function also works with vectors using iterators.<\/p>\n\n\n\n<p>#include &lt;iostream&gt;<\/p>\n\n\n\n<p>#include &lt;vector&gt;<\/p>\n\n\n\n<p>#include &lt;numeric&gt;<\/p>\n\n\n\n<p>using namespace std;<\/p>\n\n\n\n<p>int main() {<\/p>\n\n\n\n<p>vector&lt;int&gt; nums = {10, 20, 30, 40};<\/p>\n\n\n\n<p>int total = accumulate(nums.begin(), nums.end(), 0);<\/p>\n\n\n\n<p>cout &lt;&lt; &#8220;Sum = &#8221; &lt;&lt; total;<\/p>\n\n\n\n<p>return 0;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Output<\/strong><\/h3>\n\n\n\n<p>Sum = 100<\/p>\n\n\n\n<p>Using vectors with STL algorithms is considered a modern C++ programming practice.<\/p>\n\n\n\n<p>If you want more hands-on coding practice, explore these<a href=\"https:\/\/www.guvi.in\/hub\/cpp\/examples-and-practice-exercises-in-cpp\/\" target=\"_blank\" rel=\"noreferrer noopener\"> C++ examples and practice exercises<\/a> to strengthen your STL and programming skills\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Using accumulate() for Multiplication<\/strong><\/h2>\n\n\n\n<p>accumulate() can also perform multiplication using a custom operation.<\/p>\n\n\n\n<p>#include &lt;iostream&gt;<\/p>\n\n\n\n<p>#include &lt;vector&gt;<\/p>\n\n\n\n<p>#include &lt;numeric&gt;<\/p>\n\n\n\n<p>using namespace std;<\/p>\n\n\n\n<p>int multiply(int a, int b) {<\/p>\n\n\n\n<p>return a * b;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>int main() {<\/p>\n\n\n\n<p>vector&lt;int&gt; nums = {1, 2, 3, 4};<\/p>\n\n\n\n<p>int product = accumulate(nums.begin(), nums.end(), 1, multiply);<\/p>\n\n\n\n<p>cout &lt;&lt; &#8220;Product = &#8221; &lt;&lt; product;<\/p>\n\n\n\n<p>return 0;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Output<\/strong><\/h3>\n\n\n\n<p>Product = 24<\/p>\n\n\n\n<p>Notice that the initial value is 1 instead of 0.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Using Custom Lambda Functions with accumulate()<\/strong><\/h2>\n\n\n\n<p>Modern C++ developers often use lambda expressions with accumulate().<\/p>\n\n\n\n<p>#include &lt;iostream&gt;<\/p>\n\n\n\n<p>#include &lt;vector&gt;<\/p>\n\n\n\n<p>#include &lt;numeric&gt;<\/p>\n\n\n\n<p>using namespace std;<\/p>\n\n\n\n<p>int main() {<\/p>\n\n\n\n<p>vector&lt;int&gt; nums = {1, 2, 3, 4};<\/p>\n\n\n\n<p>int result = accumulate(nums.begin(), nums.end(), 0,<\/p>\n\n\n\n<p>[](int a, int b) {<\/p>\n\n\n\n<p>return a + (b * 2);<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>);<\/p>\n\n\n\n<p>cout &lt;&lt; &#8220;Result = &#8221; &lt;&lt; result;<\/p>\n\n\n\n<p>return 0;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>This approach is useful for implementing custom aggregation logic.<\/p>\n\n\n\n<p>Modern <a href=\"https:\/\/www.guvi.in\/hub\/cpp\/cpp-language-features\/\" target=\"_blank\" rel=\"noreferrer noopener\">C++ features<\/a> like lambda expressions and STL algorithms help developers write cleaner and more efficient code.\u00a0<\/p>\n\n\n\n<p>You can also explore <strong>HCL GUVI\u2019s<\/strong> <a href=\"https:\/\/www.guvi.in\/blog\/how-to-learn-dsa-beginner-guide\/?utm_source=blog&amp;utm_medium=hyperlink&amp;utm_campaign=Accumulate+Function+in+C%2B%2B%3A+Syntax%2C+Examples%2C+and+Real+World+Use+Cases\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Data Structures and Algorithms ebook<\/strong><\/a> to understand how STL algorithms and containers simplify real programming problems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Time Complexity of accumulate()<\/strong><\/h2>\n\n\n\n<p>The <a href=\"https:\/\/www.guvi.in\/hub\/data-structures-and-algorithms-tutorial\/time-complexity-of-algorithms\/\" target=\"_blank\" rel=\"noreferrer noopener\">time complexity<\/a> of accumulate() is:<\/p>\n\n\n\n<p>O(n)<\/p>\n\n\n\n<p>Where n is the number of elements in the range, the function processes each element exactly once.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Real World Use Cases of accumulate()<\/strong><\/h2>\n\n\n\n<p>The accumulate() function is widely used in real applications.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Data Analytics<\/strong><\/h3>\n\n\n\n<p>Used for calculating totals, averages, and cumulative metrics.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Competitive Programming<\/strong><\/h3>\n\n\n\n<p>Helps reduce loop boilerplate and speeds up coding during contests.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Financial Applications<\/strong><\/h3>\n\n\n\n<p>Used in revenue calculation, transaction aggregation, and portfolio analysis.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Game Development<\/strong><\/h3>\n\n\n\n<p>Useful for calculating total scores, health points, and resource values.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Backend Systems<\/strong><\/h3>\n\n\n\n<p>Used in reporting systems and data processing pipelines.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Build Real-World C++ Projects to Strengthen STL Skills<\/strong><\/h2>\n\n\n\n<p>Learning functions like accumulate() becomes much easier when you apply them in practical projects. Real-world C++ projects help you understand how STL algorithms, loops, vectors, and data handling work together in actual applications.<\/p>\n\n\n\n<p>For example, projects like calculators, To-Do list applications, ATM simulators, and hospital management systems heavily use aggregation logic similar to accumulate() for totals, balances, scores, and reports.<\/p>\n\n\n\n<p>If you want hands-on practice, explore these beginner-to-advanced C++ project ideas:<\/p>\n\n\n\n<ul>\n<li>Simple Calculator<\/li>\n\n\n\n<li>Number Guessing Game<\/li>\n\n\n\n<li>To-Do List Application<\/li>\n\n\n\n<li>ATM Simulator<\/li>\n\n\n\n<li>Text-Based RPG Game<\/li>\n\n\n\n<li>Compiler Construction<\/li>\n<\/ul>\n\n\n\n<p>You can explore the complete project list here:<br><a href=\"https:\/\/www.guvi.in\/blog\/c-plus-plus-project-ideas\/\" target=\"_blank\" rel=\"noreferrer noopener\">C++ Project Ideas<\/a><\/p>\n\n\n\n<p>These projects help improve problem-solving skills, STL usage, file handling, object-oriented programming, and real-world coding confidence.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Difference Between accumulate() and reduce()<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Feature<\/strong><\/td><td><strong>accumulate()<\/strong><\/td><td><strong>reduce()<\/strong><\/td><\/tr><tr><td>Header File<\/td><td>&lt;numeric&gt;<\/td><td>&lt;numeric&gt;<\/td><\/tr><tr><td>Execution Order<\/td><td>Sequential<\/td><td>Can execute in parallel<\/td><\/tr><tr><td>Introduced In<\/td><td>Earlier STL versions<\/td><td>C++17<\/td><\/tr><tr><td>Deterministic Output<\/td><td>Yes<\/td><td>May vary in parallel execution<\/td><\/tr><tr><td>Performance Focus<\/td><td>Predictable sequential aggregation<\/td><td>Performance-oriented parallel computation<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Since accumulate() is widely used in algorithms and competitive programming, understanding Data Structures and Algorithms is equally important. You can explore this detailed guide on<a href=\"https:\/\/www.guvi.in\/blog\/learn-dsa-in-cpp\/?utm_source=chatgpt.com\" target=\"_blank\" rel=\"noreferrer noopener\"> learning DSA in C++<\/a>\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Common Mistakes Beginners Make<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Forgetting the &lt;numeric&gt; Header<\/strong><\/h3>\n\n\n\n<p>Without including &lt;numeric&gt;, the program will fail to compile.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Using Wrong Initial Value<\/strong><\/h3>\n\n\n\n<p>Using 0 during multiplication will always return 0.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Integer Overflow<\/strong><\/h3>\n\n\n\n<p>Large sums may cause overflow if int is used.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>long long sum = accumulate(arr, arr + n, 0LL);<\/p>\n\n\n\n<p>Using 0LL ensures the result is stored as long long.<\/p>\n\n\n\n<div style=\"background-color: #099f4e; border: 3px solid #110053; border-radius: 12px; padding: 18px 22px; color: #FFFFFF; font-size: 18px; font-family: Montserrat, Helvetica, sans-serif; line-height: 1.6; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); max-width: 750px;\">\n  <strong style=\"font-size: 22px; color: #FFFFFF;\">\ud83d\udca1 Did You Know?<\/strong>\n  <p style=\"margin-top: 14px; margin-bottom: 0;\">\n    <strong style=\"color: #FFFFFF;\">std::accumulate()<\/strong>, available through the <strong style=\"color: #FFFFFF;\">&lt;numeric&gt;<\/strong> header in the <strong style=\"color: #FFFFFF;\">C++ Standard Template Library (STL)<\/strong>, is far more versatile than its name suggests. While it is commonly used to calculate sums, it can also perform <strong style=\"color: #FFFFFF;\">multiplication<\/strong>, <strong style=\"color: #FFFFFF;\">bitwise XOR operations<\/strong>, <strong style=\"color: #FFFFFF;\">string concatenation<\/strong>, and even complex custom aggregations by supplying a user-defined binary operation. This flexibility makes accumulate() a powerful example of the STL\u2019s generic programming philosophy, where the same algorithm can be reused across many different data-processing tasks with minimal code changes.\n  <\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Advantages of Using accumulate()<\/strong><\/h2>\n\n\n\n<ul>\n<li>Reduces manual loop writing<\/li>\n\n\n\n<li>Improves code readability<\/li>\n\n\n\n<li>Works with STL containers<\/li>\n\n\n\n<li>Supports custom operations<\/li>\n\n\n\n<li>Helps write modern C++ code<\/li>\n\n\n\n<li>Commonly used in competitive programming<\/li>\n<\/ul>\n\n\n\n<p>If you want to build stronger problem-solving skills, <strong>HCL GUVI\u2019s <\/strong><a href=\"https:\/\/www.guvi.in\/courses\/programming\/c-plus-plus\/?utm_source=blog&amp;utm_medium=hyperlink&amp;utm_campaign=Accumulate+Function+in+C%2B%2B%3A+Syntax%2C+Examples%2C+and+Real+World+Use+Cases\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>C++ certificate<\/strong><\/a><strong> course<\/strong> includes hands-on coding concepts, logic building, and industry-related development practices.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>The accumulate() function in C++ is a powerful STL tool that simplifies cumulative operations on arrays and containers.<\/p>\n\n\n\n<p>Whether you are calculating sums, products, scores, or custom aggregated values, accumulate() helps you write cleaner and more maintainable code.<\/p>\n\n\n\n<p>For beginners, understanding STL algorithms like accumulate() is an important step toward writing efficient modern C++ programs.<\/p>\n\n\n\n<p>As you progress in C++, learning how to combine STL functions with iterators, lambda expressions, and containers will significantly improve your coding efficiency and problem-solving ability.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>FAQs<\/strong><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1780116219484\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>1. What is the use of accumulate() in C++?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The accumulate() function is used to calculate the cumulative result of elements in a range. It is commonly used for summation, multiplication, and custom aggregation operations.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1780116226287\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>2. Which header file is required for accumulate() in C++?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>You must include the &lt;numeric> header file to use the accumulate() function in C++.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1780116235082\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>3. Can accumulate() work with vectors in C++?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, accumulate() works with vectors, arrays, lists, and other iterable STL containers using iterators.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1780116248531\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>4. What is the time complexity of accumulate()?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The time complexity of accumulate() is O(n) because it processes each element exactly once.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1780116260606\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>5. Can accumulate() perform operations other than addition?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, developers can use custom functions or lambda expressions with accumulate() to perform multiplication, XOR operations, string concatenation, and other custom logic.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1780116272531\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>6. What is the difference between accumulate() and reduce() in C++?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>accumulate() performs sequential aggregation with predictable results, while reduce() supports parallel execution and is mainly used for performance-oriented computations in C++17 and later.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>accumulate() is one of the most useful STL functions in C++ for cumulative operations on elements in arrays, vectors, and containers. Instead of writing manual loops for summation or aggregation, developers can use a cleaner, more efficient STL-based approach. From competitive programming to backend systems and analytics applications, accumulate() helps reduce boilerplate code and improve [&hellip;]<\/p>\n","protected":false},"author":63,"featured_media":115165,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"views":"43","authorinfo":{"name":"Vishalini Devarajan","url":"https:\/\/www.guvi.in\/blog\/author\/vishalini\/"},"thumbnailURL":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2026\/05\/accumulate-function-in-c-300x115.webp","_links":{"self":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/112983"}],"collection":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/comments?post=112983"}],"version-history":[{"count":2,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/112983\/revisions"}],"predecessor-version":[{"id":115166,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/112983\/revisions\/115166"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media\/115165"}],"wp:attachment":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media?parent=112983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/categories?post=112983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/tags?post=112983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}