Understanding Recursion in C Programming: A Step-by-Step Guide

What is Recursion ?

Recursion is a process where a function calls itself either directly or indirectly, and the function used in this process is called a recursive function. Recursive algorithms can solve specific problems easily, such as Towers of Hanoi (TOH), Inorder/Preorder/Postorder Tree Traversals, DFS of Graph, etc. Recursive functions solve a problem by calling a copy of itself, which solves smaller subproblems of the original problem, generating more recursive calls as needed.However, it’s crucial to provide a case that terminates this recursive process. In other words, every time the function calls itself, it does so with a simpler version of the original problem.

Recursion has certain advantages over iteration technique, such as reducing the length of code and making it more readable and easier to write. It is a suitable solution for tasks that can be defined with similar subtasks. For instance, finding the factorial of a number can be solved using recursion.

In summary, recursion is a powerful technique that can solve specific problems efficiently. It has some unique properties that make it a useful tool in programming, especially when dealing with tasks that involve similar subtasks.

Recursion in c programming

The syntax for implementing recursion in C programming is as follows:

return_type functionName(parameters) {
   if (baseCase) {
      // terminate recursion
      return someValue;
   } else {
      // recursive case
      return functionName(modifiedParameters);
   }
}

In this syntax, return_type specifies the type of value returned by the function, functionName is the name of the recursive function, and parameters are the input parameters passed to the function.

The if statement checks for a base case that terminates the recursion, and if the base case is not met, the function calls itself with modifiedParameters. The modified parameters are used to solve a smaller version of the original problem, which eventually leads to the base case being met.

It’s important to ensure that the recursive function has a base case that terminates the recursion. Otherwise, the function will continue to call itself indefinitely, causing the program to crash or run out of memory.

Example of a recursive function that calculates the factorial of a number in C programming:

#include <stdio.h>

// Recursive function to calculate factorial
int factorial(int n) {
   if (n == 0) {
      // Base case: factorial of 0 is 1
      return 1;
   } else {
      // Recursive case: factorial of n is n times factorial of n-1
      return n * factorial(n-1);
   }
}

// Main function to call factorial function
int main() {
   int num, result;
   printf("Enter a number to calculate its factorial: ");
   scanf("%d", &num);
   result = factorial(num);
   printf("Factorial of %d is %d", num, result);
   return 0;
}

This program uses a recursive function to calculate the factorial of a number ‘n’. The function initially checks for a base case where the value of ‘n’ is zero and returns the result as 1. However, if the base case is not met, the function recursively calls itself with the argument as ‘n-1’ and multiplies the result with the original value of ‘n’ to calculate the factorial of ‘n’.

The main function of the program interacts with the user by prompting them to enter a number. Once the user provides the input value, the program uses the ‘scanf’ function to read the value from the console. The main function then passes the input value to the recursive ‘factorial’ function to calculate its factorial. Finally, the program uses the ‘printf’ function to display the calculated result on the console.

When you run this program and enter a number, it will use recursion to compute the factorial of the number and show the result on the console.

Output

Enter a number to calculate its factorial: 5
Factorial of 5 is 120

When you run the program, it will prompt the user to enter a number. If the user enters 5 as the input value, the program will call the factorial function with 5 as the argument. The factorial function will calculate the factorial of 5 using recursion, and the result will be 120. Finally, the program will use the printf function to display the result on the console, which shows that the factorial of 5 is 120.

 

Frequently Asked Questions

Recursion is a programming technique in which a function calls itself repeatedly to solve a problem. The recursive function breaks down a problem into smaller and simpler sub-problems and then solves them using the same function.

Recursion has several advantages in programming:

Simplifies code, Reduces memory usage, Avoids repetition etc.

Recursion in factorial refers to a programming technique where a function calls itself to calculate the factorial of a given number. For example, to find the factorial of a number n, a function can be defined that calls itself with n-1 as the argument and multiplies the result by n until n reaches 1. This process continues until the base case is reached, and the final result is returned.

  1. #include<stdio.h>
  2. long factorial(int n)
  3. {
  4. if (n == 0)
  5. return 1;
  6. else.
  7. return(n * factorial(n-1));
  8. }

Here are some examples of problems that can be solved using recursion:

  • Factorial calculation
  • Fibonacci sequence
  • Tower of Hanoi
  • Binary search
  • Merge sort
  • Quick sort
  • Tree traversal

There are two main types of recursion:

  1. Direct Recursion: In direct recursion, a function calls itself directly. This is the most common type of recursion.
  2. Indirect Recursion: In indirect recursion, a function calls another function which eventually calls the first function again. This creates a cycle of function calls.

For Trending Topics

identifiers in c++ programming
C++ programming
{"type":"elementor","siteurl":"https://theupcomingprogrammer.com/wp-json/","elements":[{"id":"6c96749","elType":"widget","isInner":false,"isLocked":false,"settings":{"image":{"url":"https://theupcomingprogrammer.com/wp-content/uploads/2023/04/top-10-budget-laptop.png","id":1397,"size":"","alt":"","source":"library"},"image_size":"medium","image_custom_dimension":{"width":"","height":""},"align":"","align_tablet":"","align_mobile":"","caption_source":"none","caption":"","link_to":"custom","link":{"url":"https://theupcomingprogrammer.com/smart-shopping-how-to-find-the-best-laptops-under-60000-rupees/","is_external":"","nofollow":"","custom_attributes":""},"open_lightbox":"default","view":"traditional","width":{"unit":"%","size":"","sizes":[]},"width_tablet":{"unit":"%","size":"","sizes":[]},"width_mobile":{"unit":"%","size":"","sizes":[]},"space":{"unit":"%","size":"","sizes":[]},"space_tablet":{"unit":"%","size":"","sizes":[]},"space_mobile":{"unit":"%","size":"","sizes":[]},"height":{"unit":"px","size":"","sizes":[]},"height_tablet":{"unit":"px","size":"","sizes":[]},"height_mobile":{"unit":"px","size":"","sizes":[]},"object-fit":"","object-fit_tablet":"","object-fit_mobile":"","opacity":{"unit":"px","size":"","sizes":[]},"css_filters_css_filter":"","css_filters_blur":{"unit":"px","size":0,"sizes":[]},"css_filters_brightness":{"unit":"px","size":100,"sizes":[]},"css_filters_contrast":{"unit":"px","size":100,"sizes":[]},"css_filters_saturate":{"unit":"px","size":100,"sizes":[]},"css_filters_hue":{"unit":"px","size":0,"sizes":[]},"opacity_hover":{"unit":"px","size":"","sizes":[]},"css_filters_hover_css_filter":"","css_filters_hover_blur":{"unit":"px","size":0,"sizes":[]},"css_filters_hover_brightness":{"unit":"px","size":100,"sizes":[]},"css_filters_hover_contrast":{"unit":"px","size":100,"sizes":[]},"css_filters_hover_saturate":{"unit":"px","size":100,"sizes":[]},"css_filters_hover_hue":{"unit":"px","size":0,"sizes":[]},"background_hover_transition":{"unit":"px","size":"","sizes":[]},"hover_animation":"","image_border_border":"","image_border_width":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"image_border_width_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"image_border_width_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"image_border_color":"","image_border_radius":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"image_border_radius_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"image_border_radius_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"image_box_shadow_box_shadow_type":"","image_box_shadow_box_shadow":{"horizontal":0,"vertical":0,"blur":10,"spread":0,"color":"rgba(0,0,0,0.5)"},"caption_align":"","caption_align_tablet":"","caption_align_mobile":"","text_color":"","caption_background_color":"","caption_typography_typography":"","caption_typography_font_family":"","caption_typography_font_size":{"unit":"px","size":"","sizes":[]},"caption_typography_font_size_tablet":{"unit":"px","size":"","sizes":[]},"caption_typography_font_size_mobile":{"unit":"px","size":"","sizes":[]},"caption_typography_font_weight":"","caption_typography_text_transform":"","caption_typography_font_style":"","caption_typography_text_decoration":"","caption_typography_line_height":{"unit":"px","size":"","sizes":[]},"caption_typography_line_height_tablet":{"unit":"em","size":"","sizes":[]},"caption_typography_line_height_mobile":{"unit":"em","size":"","sizes":[]},"caption_typography_letter_spacing":{"unit":"px","size":"","sizes":[]},"caption_typography_letter_spacing_tablet":{"unit":"px","size":"","sizes":[]},"caption_typography_letter_spacing_mobile":{"unit":"px","size":"","sizes":[]},"caption_typography_word_spacing":{"unit":"px","size":"","sizes":[]},"caption_typography_word_spacing_tablet":{"unit":"em","size":"","sizes":[]},"caption_typography_word_spacing_mobile":{"unit":"em","size":"","sizes":[]},"caption_text_shadow_text_shadow_type":"","caption_text_shadow_text_shadow":{"horizontal":0,"vertical":0,"blur":10,"color":"rgba(0,0,0,0.3)"},"caption_space":{"unit":"px","size":"","sizes":[]},"caption_space_tablet":{"unit":"px","size":"","sizes":[]},"caption_space_mobile":{"unit":"px","size":"","sizes":[]},"_title":"","_margin":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_margin_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_margin_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_padding":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_padding_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_padding_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_element_width":"","_element_width_tablet":"","_element_width_mobile":"","_element_custom_width":{"unit":"%","size":"","sizes":[]},"_element_custom_width_tablet":{"unit":"px","size":"","sizes":[]},"_element_custom_width_mobile":{"unit":"px","size":"","sizes":[]},"_element_vertical_align":"","_element_vertical_align_tablet":"","_element_vertical_align_mobile":"","_position":"","_offset_orientation_h":"start","_offset_x":{"unit":"px","size":"0","sizes":[]},"_offset_x_tablet":{"unit":"px","size":"","sizes":[]},"_offset_x_mobile":{"unit":"px","size":"","sizes":[]},"_offset_x_end":{"unit":"px","size":"0","sizes":[]},"_offset_x_end_tablet":{"unit":"px","size":"","sizes":[]},"_offset_x_end_mobile":{"unit":"px","size":"","sizes":[]},"_offset_orientation_v":"start","_offset_y":{"unit":"px","size":"0","sizes":[]},"_offset_y_tablet":{"unit":"px","size":"","sizes":[]},"_offset_y_mobile":{"unit":"px","size":"","sizes":[]},"_offset_y_end":{"unit":"px","size":"0","sizes":[]},"_offset_y_end_tablet":{"unit":"px","size":"","sizes":[]},"_offset_y_end_mobile":{"unit":"px","size":"","sizes":[]},"_z_index":"","_z_index_tablet":"","_z_index_mobile":"","_element_id":"","_css_classes":"","eael_tooltip_section_enable":"","eael_tooltip_section_content":"I am a tooltip","eael_tooltip_section_position":"top","eael_tooltip_section_animation":"scale","eael_tooltip_section_arrow":true,"eael_tooltip_section_arrow_type":"sharp","eael_tooltip_section_trigger":"mouseenter","eael_tooltip_section_duration":300,"eael_tooltip_section_delay":400,"eael_tooltip_section_size":"regular","eael_tooltip_section_typography_typography":"","eael_tooltip_section_typography_font_family":"","eael_tooltip_section_typography_font_size":{"unit":"px","size":"","sizes":[]},"eael_tooltip_section_typography_font_size_tablet":{"unit":"px","size":"","sizes":[]},"eael_tooltip_section_typography_font_size_mobile":{"unit":"px","size":"","sizes":[]},"eael_tooltip_section_typography_font_weight":"","eael_tooltip_section_typography_text_transform":"","eael_tooltip_section_typography_font_style":"","eael_tooltip_section_typography_text_decoration":"","eael_tooltip_section_typography_line_height":{"unit":"px","size":"","sizes":[]},"eael_tooltip_section_typography_line_height_tablet":{"unit":"em","size":"","sizes":[]},"eael_tooltip_section_typography_line_height_mobile":{"unit":"em","size":"","sizes":[]},"eael_tooltip_section_typography_letter_spacing":{"unit":"px","size":"","sizes":[]},"eael_tooltip_section_typography_letter_spacing_tablet":{"unit":"px","size":"","sizes":[]},"eael_tooltip_section_typography_letter_spacing_mobile":{"unit":"px","size":"","sizes":[]},"eael_tooltip_section_typography_word_spacing":{"unit":"px","size":"","sizes":[]},"eael_tooltip_section_typography_word_spacing_tablet":{"unit":"em","size":"","sizes":[]},"eael_tooltip_section_typography_word_spacing_mobile":{"unit":"em","size":"","sizes":[]},"eael_tooltip_section_background_color":"#000000","eael_tooltip_section_color":"#ffffff","eael_tooltip_section_border_color":"","eael_tooltip_section_border_radius":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_tooltip_section_distance":10,"eael_tooltip_section_padding":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_tooltip_section_box_shadow_box_shadow_type":"","eael_tooltip_section_box_shadow_box_shadow":{"horizontal":0,"vertical":0,"blur":10,"spread":0,"color":"rgba(0,0,0,0.5)"},"eael_tooltip_section_box_shadow_box_shadow_position":" ","eael_tooltip_section_width":{"unit":"px","size":"350","sizes":[]},"eael_ext_content_protection":"no","eael_ext_content_protection_type":"role","eael_ext_content_protection_role":"","eael_ext_content_protection_password":"","eael_ext_content_protection_password_placeholder":"Enter Password","eael_ext_content_protection_password_submit_btn_txt":"Submit","eael_content_protection_cookie":"no","eael_content_protection_cookie_expire_time":60,"eael_ext_content_protection_message_type":"text","eael_ext_content_protection_message_text":"You do not have permission to see this content.","eael_ext_content_protection_message_template":"","eael_ext_content_protection_password_incorrect_message":"Password does not match.","eael_ext_content_protection_message_text_color":"","eael_ext_content_protection_message_text_typography_typography":"","eael_ext_content_protection_message_text_typography_font_family":"","eael_ext_content_protection_message_text_typography_font_size":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_font_size_tablet":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_font_size_mobile":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_font_weight":"","eael_ext_content_protection_message_text_typography_text_transform":"","eael_ext_content_protection_message_text_typography_font_style":"","eael_ext_content_protection_message_text_typography_text_decoration":"","eael_ext_content_protection_message_text_typography_line_height":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_line_height_tablet":{"unit":"em","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_line_height_mobile":{"unit":"em","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_letter_spacing":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_letter_spacing_tablet":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_letter_spacing_mobile":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_word_spacing":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_word_spacing_tablet":{"unit":"em","size":"","sizes":[]},"eael_ext_content_protection_message_text_typography_word_spacing_mobile":{"unit":"em","size":"","sizes":[]},"eael_ext_content_protection_message_text_alignment":"left","eael_ext_content_protection_message_text_alignment_tablet":"","eael_ext_content_protection_message_text_alignment_mobile":"","eael_ext_content_protection_message_text_padding":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_message_text_padding_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_message_text_padding_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_error_message_text_color":"","eael_ext_content_protection_error_message_text_typography_typography":"","eael_ext_content_protection_error_message_text_typography_font_family":"","eael_ext_content_protection_error_message_text_typography_font_size":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_font_size_tablet":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_font_size_mobile":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_font_weight":"","eael_ext_content_protection_error_message_text_typography_text_transform":"","eael_ext_content_protection_error_message_text_typography_font_style":"","eael_ext_content_protection_error_message_text_typography_text_decoration":"","eael_ext_content_protection_error_message_text_typography_line_height":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_line_height_tablet":{"unit":"em","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_line_height_mobile":{"unit":"em","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_letter_spacing":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_letter_spacing_tablet":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_letter_spacing_mobile":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_word_spacing":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_word_spacing_tablet":{"unit":"em","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_typography_word_spacing_mobile":{"unit":"em","size":"","sizes":[]},"eael_ext_content_protection_error_message_text_alignment":"left","eael_ext_content_protection_error_message_text_alignment_tablet":"","eael_ext_content_protection_error_message_text_alignment_mobile":"","eael_ext_content_protection_error_message_text_padding":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_error_message_text_padding_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_error_message_text_padding_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_input_width":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_input_alignment":"left","eael_ext_content_protection_input_alignment_tablet":"","eael_ext_content_protection_input_alignment_mobile":"","eael_ext_content_protection_password_input_padding":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_password_input_padding_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_password_input_padding_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_password_input_margin":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_password_input_margin_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_password_input_margin_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_input_border_radius":{"unit":"px","size":"","sizes":[]},"eael_ext_content_protection_password_input_color":"#333333","eael_ext_content_protection_password_input_bg_color":"#ffffff","eael_ext_content_protection_password_input_border_border":"","eael_ext_content_protection_password_input_border_width":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_password_input_border_width_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_password_input_border_width_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_password_input_border_color":"","eael_ext_content_protection_password_input_shadow_box_shadow_type":"","eael_ext_content_protection_password_input_shadow_box_shadow":{"horizontal":0,"vertical":0,"blur":10,"spread":0,"color":"rgba(0,0,0,0.5)"},"eael_ext_content_protection_password_input_shadow_box_shadow_position":" ","eael_ext_protected_content_password_input_hover_color":"#333333","eael_ext_protected_content_password_input_hover_bg_color":"#ffffff","eael_ext_protected_content_password_input_hover_border_border":"","eael_ext_protected_content_password_input_hover_border_width":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_protected_content_password_input_hover_border_width_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_protected_content_password_input_hover_border_width_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_protected_content_password_input_hover_border_color":"","eael_ext_protected_content_password_input_hover_shadow_box_shadow_type":"","eael_ext_protected_content_password_input_hover_shadow_box_shadow":{"horizontal":0,"vertical":0,"blur":10,"spread":0,"color":"rgba(0,0,0,0.5)"},"eael_ext_protected_content_password_input_hover_shadow_box_shadow_position":" ","eael_ext_content_protection_submit_button_color":"#ffffff","eael_ext_content_protection_submit_button_bg_color":"#333333","eael_ext_content_protection_submit_button_border_border":"","eael_ext_content_protection_submit_button_border_width":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_submit_button_border_width_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_submit_button_border_width_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_submit_button_border_color":"","eael_ext_content_protection_submit_button_box_shadow_box_shadow_type":"","eael_ext_content_protection_submit_button_box_shadow_box_shadow":{"horizontal":0,"vertical":0,"blur":10,"spread":0,"color":"rgba(0,0,0,0.5)"},"eael_ext_content_protection_submit_button_box_shadow_box_shadow_position":" ","eael_ext_content_protection_submit_button_hover_text_color":"#ffffff","eael_ext_content_protection_submit_button_hover_bg_color":"#333333","eael_ext_content_protection_submit_button_hover_border_border":"","eael_ext_content_protection_submit_button_hover_border_width":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_submit_button_hover_border_width_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_submit_button_hover_border_width_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"eael_ext_content_protection_submit_button_hover_border_color":"","eael_ext_content_protection_submit_button_hover_box_shadow_box_shadow_type":"","eael_ext_content_protection_submit_button_hover_box_shadow_box_shadow":{"horizontal":0,"vertical":0,"blur":10,"spread":0,"color":"rgba(0,0,0,0.5)"},"eael_ext_content_protection_submit_button_hover_box_shadow_box_shadow_position":" ","eael_cl_enable":"","eael_cl_visibility_action":"show","eael_cl_action_apply_if":"all","eael_cl_logics":[{"logic_type":"login_status","login_status_operand":"logged_in","_id":"5de30ee","dynamic_field":"","logic_operator_dynamic":"between","user_and_role":"","logic_operator_between":"between","dynamic_operand":"","user_role_operand_multi":[],"user_operand":"","post_type_operand":"","post_operand":"","post_operand_post":"","post_operand_page":"","post_operand_e-landing-page":"","browser_operand":"chrome","date_time_logic":"equal","single_date":"","from_date":"","to_date":""}],"motion_fx_motion_fx_scrolling":"","motion_fx_translateY_effect":"","motion_fx_translateY_direction":"","motion_fx_translateY_speed":{"unit":"px","size":4,"sizes":[]},"motion_fx_translateY_affectedRange":{"unit":"%","size":"","sizes":{"start":0,"end":100}},"motion_fx_translateX_effect":"","motion_fx_translateX_direction":"","motion_fx_translateX_speed":{"unit":"px","size":4,"sizes":[]},"motion_fx_translateX_affectedRange":{"unit":"%","size":"","sizes":{"start":0,"end":100}},"motion_fx_opacity_effect":"","motion_fx_opacity_direction":"out-in","motion_fx_opacity_level":{"unit":"px","size":10,"sizes":[]},"motion_fx_opacity_range":{"unit":"%","size":"","sizes":{"start":20,"end":80}},"motion_fx_blur_effect":"","motion_fx_blur_direction":"out-in","motion_fx_blur_level":{"unit":"px","size":7,"sizes":[]},"motion_fx_blur_range":{"unit":"%","size":"","sizes":{"start":20,"end":80}},"motion_fx_rotateZ_effect":"","motion_fx_rotateZ_direction":"","motion_fx_rotateZ_speed":{"unit":"px","size":1,"sizes":[]},"motion_fx_rotateZ_affectedRange":{"unit":"%","size":"","sizes":{"start":0,"end":100}},"motion_fx_scale_effect":"","motion_fx_scale_direction":"out-in","motion_fx_scale_speed":{"unit":"px","size":4,"sizes":[]},"motion_fx_scale_range":{"unit":"%","size":"","sizes":{"start":20,"end":80}},"motion_fx_transform_origin_x":"center","motion_fx_transform_origin_y":"center","motion_fx_devices":["desktop","tablet","mobile"],"motion_fx_range":"","motion_fx_motion_fx_mouse":"","motion_fx_mouseTrack_effect":"","motion_fx_mouseTrack_direction":"","motion_fx_mouseTrack_speed":{"unit":"px","size":1,"sizes":[]},"motion_fx_tilt_effect":"","motion_fx_tilt_direction":"","motion_fx_tilt_speed":{"unit":"px","size":4,"sizes":[]},"sticky":"","sticky_on":["desktop","tablet","mobile"],"sticky_offset":0,"sticky_offset_tablet":"","sticky_offset_mobile":"","sticky_effects_offset":0,"sticky_effects_offset_tablet":"","sticky_effects_offset_mobile":"","sticky_parent":"","_animation":"","_animation_tablet":"","_animation_mobile":"","animation_duration":"","_animation_delay":"","_transform_rotate_popover":"","_transform_rotateZ_effect":{"unit":"px","size":"","sizes":[]},"_transform_rotateZ_effect_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_rotateZ_effect_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_rotate_3d":"","_transform_rotateX_effect":{"unit":"px","size":"","sizes":[]},"_transform_rotateX_effect_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_rotateX_effect_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_rotateY_effect":{"unit":"px","size":"","sizes":[]},"_transform_rotateY_effect_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_rotateY_effect_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_perspective_effect":{"unit":"px","size":"","sizes":[]},"_transform_perspective_effect_tablet":{"unit":"px","size":"","sizes":[]},"_transform_perspective_effect_mobile":{"unit":"px","size":"","sizes":[]},"_transform_translate_popover":"","_transform_translateX_effect":{"unit":"px","size":"","sizes":[]},"_transform_translateX_effect_tablet":{"unit":"px","size":"","sizes":[]},"_transform_translateX_effect_mobile":{"unit":"px","size":"","sizes":[]},"_transform_translateY_effect":{"unit":"px","size":"","sizes":[]},"_transform_translateY_effect_tablet":{"unit":"px","size":"","sizes":[]},"_transform_translateY_effect_mobile":{"unit":"px","size":"","sizes":[]},"_transform_scale_popover":"","_transform_keep_proportions":"yes","_transform_scale_effect":{"unit":"px","size":"","sizes":[]},"_transform_scale_effect_tablet":{"unit":"px","size":"","sizes":[]},"_transform_scale_effect_mobile":{"unit":"px","size":"","sizes":[]},"_transform_scaleX_effect":{"unit":"px","size":"","sizes":[]},"_transform_scaleX_effect_tablet":{"unit":"px","size":"","sizes":[]},"_transform_scaleX_effect_mobile":{"unit":"px","size":"","sizes":[]},"_transform_scaleY_effect":{"unit":"px","size":"","sizes":[]},"_transform_scaleY_effect_tablet":{"unit":"px","size":"","sizes":[]},"_transform_scaleY_effect_mobile":{"unit":"px","size":"","sizes":[]},"_transform_skew_popover":"","_transform_skewX_effect":{"unit":"px","size":"","sizes":[]},"_transform_skewX_effect_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_skewX_effect_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_skewY_effect":{"unit":"px","size":"","sizes":[]},"_transform_skewY_effect_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_skewY_effect_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_flipX_effect":"","_transform_flipY_effect":"","_transform_rotate_popover_hover":"","_transform_rotateZ_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_rotateZ_effect_hover_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_rotateZ_effect_hover_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_rotate_3d_hover":"","_transform_rotateX_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_rotateX_effect_hover_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_rotateX_effect_hover_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_rotateY_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_rotateY_effect_hover_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_rotateY_effect_hover_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_perspective_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_perspective_effect_hover_tablet":{"unit":"px","size":"","sizes":[]},"_transform_perspective_effect_hover_mobile":{"unit":"px","size":"","sizes":[]},"_transform_translate_popover_hover":"","_transform_translateX_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_translateX_effect_hover_tablet":{"unit":"px","size":"","sizes":[]},"_transform_translateX_effect_hover_mobile":{"unit":"px","size":"","sizes":[]},"_transform_translateY_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_translateY_effect_hover_tablet":{"unit":"px","size":"","sizes":[]},"_transform_translateY_effect_hover_mobile":{"unit":"px","size":"","sizes":[]},"_transform_scale_popover_hover":"","_transform_keep_proportions_hover":"yes","_transform_scale_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_scale_effect_hover_tablet":{"unit":"px","size":"","sizes":[]},"_transform_scale_effect_hover_mobile":{"unit":"px","size":"","sizes":[]},"_transform_scaleX_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_scaleX_effect_hover_tablet":{"unit":"px","size":"","sizes":[]},"_transform_scaleX_effect_hover_mobile":{"unit":"px","size":"","sizes":[]},"_transform_scaleY_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_scaleY_effect_hover_tablet":{"unit":"px","size":"","sizes":[]},"_transform_scaleY_effect_hover_mobile":{"unit":"px","size":"","sizes":[]},"_transform_skew_popover_hover":"","_transform_skewX_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_skewX_effect_hover_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_skewX_effect_hover_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_skewY_effect_hover":{"unit":"px","size":"","sizes":[]},"_transform_skewY_effect_hover_tablet":{"unit":"deg","size":"","sizes":[]},"_transform_skewY_effect_hover_mobile":{"unit":"deg","size":"","sizes":[]},"_transform_flipX_effect_hover":"","_transform_flipY_effect_hover":"","_transform_transition_hover":{"unit":"px","size":"","sizes":[]},"motion_fx_transform_x_anchor_point":"","motion_fx_transform_x_anchor_point_tablet":"","motion_fx_transform_x_anchor_point_mobile":"","motion_fx_transform_y_anchor_point":"","motion_fx_transform_y_anchor_point_tablet":"","motion_fx_transform_y_anchor_point_mobile":"","_background_background":"","_background_color":"","_background_color_stop":{"unit":"%","size":0,"sizes":[]},"_background_color_b":"#f2295b","_background_color_b_stop":{"unit":"%","size":100,"sizes":[]},"_background_gradient_type":"linear","_background_gradient_angle":{"unit":"deg","size":180,"sizes":[]},"_background_gradient_position":"center center","_background_image":{"url":"","id":"","size":""},"_background_image_tablet":{"url":"","id":"","size":""},"_background_image_mobile":{"url":"","id":"","size":""},"_background_position":"","_background_position_tablet":"","_background_position_mobile":"","_background_xpos":{"unit":"px","size":0,"sizes":[]},"_background_xpos_tablet":{"unit":"px","size":0,"sizes":[]},"_background_xpos_mobile":{"unit":"px","size":0,"sizes":[]},"_background_ypos":{"unit":"px","size":0,"sizes":[]},"_background_ypos_tablet":{"unit":"px","size":0,"sizes":[]},"_background_ypos_mobile":{"unit":"px","size":0,"sizes":[]},"_background_attachment":"","_background_repeat":"","_background_repeat_tablet":"","_background_repeat_mobile":"","_background_size":"","_background_size_tablet":"","_background_size_mobile":"","_background_bg_width":{"unit":"%","size":100,"sizes":[]},"_background_bg_width_tablet":{"unit":"px","size":"","sizes":[]},"_background_bg_width_mobile":{"unit":"px","size":"","sizes":[]},"_background_video_link":"","_background_video_start":"","_background_video_end":"","_background_play_once":"","_background_play_on_mobile":"","_background_privacy_mode":"","_background_video_fallback":{"url":"","id":"","size":""},"_background_slideshow_gallery":[],"_background_slideshow_loop":"yes","_background_slideshow_slide_duration":5000,"_background_slideshow_slide_transition":"fade","_background_slideshow_transition_duration":500,"_background_slideshow_background_size":"","_background_slideshow_background_size_tablet":"","_background_slideshow_background_size_mobile":"","_background_slideshow_background_position":"","_background_slideshow_background_position_tablet":"","_background_slideshow_background_position_mobile":"","_background_slideshow_lazyload":"","_background_slideshow_ken_burns":"","_background_slideshow_ken_burns_zoom_direction":"in","_background_hover_background":"","_background_hover_color":"","_background_hover_color_stop":{"unit":"%","size":0,"sizes":[]},"_background_hover_color_b":"#f2295b","_background_hover_color_b_stop":{"unit":"%","size":100,"sizes":[]},"_background_hover_gradient_type":"linear","_background_hover_gradient_angle":{"unit":"deg","size":180,"sizes":[]},"_background_hover_gradient_position":"center center","_background_hover_image":{"url":"","id":"","size":""},"_background_hover_image_tablet":{"url":"","id":"","size":""},"_background_hover_image_mobile":{"url":"","id":"","size":""},"_background_hover_position":"","_background_hover_position_tablet":"","_background_hover_position_mobile":"","_background_hover_xpos":{"unit":"px","size":0,"sizes":[]},"_background_hover_xpos_tablet":{"unit":"px","size":0,"sizes":[]},"_background_hover_xpos_mobile":{"unit":"px","size":0,"sizes":[]},"_background_hover_ypos":{"unit":"px","size":0,"sizes":[]},"_background_hover_ypos_tablet":{"unit":"px","size":0,"sizes":[]},"_background_hover_ypos_mobile":{"unit":"px","size":0,"sizes":[]},"_background_hover_attachment":"","_background_hover_repeat":"","_background_hover_repeat_tablet":"","_background_hover_repeat_mobile":"","_background_hover_size":"","_background_hover_size_tablet":"","_background_hover_size_mobile":"","_background_hover_bg_width":{"unit":"%","size":100,"sizes":[]},"_background_hover_bg_width_tablet":{"unit":"px","size":"","sizes":[]},"_background_hover_bg_width_mobile":{"unit":"px","size":"","sizes":[]},"_background_hover_video_link":"","_background_hover_video_start":"","_background_hover_video_end":"","_background_hover_play_once":"","_background_hover_play_on_mobile":"","_background_hover_privacy_mode":"","_background_hover_video_fallback":{"url":"","id":"","size":""},"_background_hover_slideshow_gallery":[],"_background_hover_slideshow_loop":"yes","_background_hover_slideshow_slide_duration":5000,"_background_hover_slideshow_slide_transition":"fade","_background_hover_slideshow_transition_duration":500,"_background_hover_slideshow_background_size":"","_background_hover_slideshow_background_size_tablet":"","_background_hover_slideshow_background_size_mobile":"","_background_hover_slideshow_background_position":"","_background_hover_slideshow_background_position_tablet":"","_background_hover_slideshow_background_position_mobile":"","_background_hover_slideshow_lazyload":"","_background_hover_slideshow_ken_burns":"","_background_hover_slideshow_ken_burns_zoom_direction":"in","_background_hover_transition":{"unit":"px","size":"","sizes":[]},"_border_border":"","_border_width":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_width_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_width_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_color":"","_border_radius":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_radius_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_radius_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_box_shadow_box_shadow_type":"","_box_shadow_box_shadow":{"horizontal":0,"vertical":0,"blur":10,"spread":0,"color":"rgba(0,0,0,0.5)"},"_box_shadow_box_shadow_position":" ","_border_hover_border":"","_border_hover_width":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_hover_width_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_hover_width_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_hover_color":"","_border_radius_hover":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_radius_hover_tablet":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_border_radius_hover_mobile":{"unit":"px","top":"","right":"","bottom":"","left":"","isLinked":true},"_box_shadow_hover_box_shadow_type":"","_box_shadow_hover_box_shadow":{"horizontal":0,"vertical":0,"blur":10,"spread":0,"color":"rgba(0,0,0,0.5)"},"_box_shadow_hover_box_shadow_position":" ","_border_hover_transition":{"unit":"px","size":"","sizes":[]},"_mask_switch":"","_mask_shape":"circle","_mask_image":{"url":"","id":"","size":""},"_mask_notice":"","_mask_size":"contain","_mask_size_tablet":"","_mask_size_mobile":"","_mask_size_scale":{"unit":"%","size":100,"sizes":[]},"_mask_size_scale_tablet":{"unit":"px","size":"","sizes":[]},"_mask_size_scale_mobile":{"unit":"px","size":"","sizes":[]},"_mask_position":"center center","_mask_position_tablet":"","_mask_position_mobile":"","_mask_position_x":{"unit":"%","size":0,"sizes":[]},"_mask_position_x_tablet":{"unit":"px","size":"","sizes":[]},"_mask_position_x_mobile":{"unit":"px","size":"","sizes":[]},"_mask_position_y":{"unit":"%","size":0,"sizes":[]},"_mask_position_y_tablet":{"unit":"px","size":"","sizes":[]},"_mask_position_y_mobile":{"unit":"px","size":"","sizes":[]},"_mask_repeat":"no-repeat","_mask_repeat_tablet":"","_mask_repeat_mobile":"","hide_desktop":"","hide_tablet":"","hide_mobile":"","_attributes":"","custom_css":""},"defaultEditSettings":{"defaultEditRoute":"content"},"elements":[],"widgetType":"image","editSettings":{"defaultEditRoute":"content","panel":{"activeTab":"content","activeSection":"section_image"}},"htmlCache":"\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t"}]}

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *