

{"id":57490,"date":"2019-06-03T14:04:52","date_gmt":"2019-06-03T08:34:52","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=57490"},"modified":"2021-05-14T17:08:05","modified_gmt":"2021-05-14T11:38:05","slug":"function-in-c-and-cpp","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/","title":{"rendered":"Function in C and C++ [Quiz included]"},"content":{"rendered":"<p><em>Function in C and C++ is a set of statements that we use in order to take various inputs and perform some calculations or computations to obtain the output<\/em>. This tutorial is specially dedicated to functions in the C\/C++ programming language, that covers its syntax, types, significance, different ways to call a function, and types of function arguments. Let&#8217;s start our journey with an example.<\/p>\n<p>Suppose you want to compute the area of a right-angled triangle for a given set of 10 triangles. A novice at programming who does not have the knowledge of functions would probably say:<\/p>\n<p>Define 10 separate variables to store the area of each triangle and then display it.<\/p>\n<p>Sounds pretty inconvenient, right?\u00a0What if the number of triangles whose area to be computed is increased to 30? It is not practically feasible to follow the traditional method. This is where the role of functions comes into play.<\/p>\n<p>The above-mentioned problem can easily be resolved by defining a function to compute the area of a triangle taking 2 parameters into consideration, that is, base and height. Then, we can define a single variable that would return its area. The parameters of the 30 triangles in hand simply need to be passed to the function and we get their respective areas without much hassle.<\/p>\n<p><em>Don&#8217;t forget to check <strong>quiz on functions in C and C++<\/strong> at the end of this tutorial<\/em><\/p>\n<h2>Function in C and C++<\/h2>\n<p><strong>In layman language<\/strong>, <em>a function is anything that is done to achieve a specific purpose<\/em>.<\/p>\n<p><strong>In programming<\/strong>, <em>a function refers to the collection of statements that together performs a specific task<\/em>. Functions give you the provision to divide your code into fragments to reduce code complexity, which you might have already inferred after pondering on the introductory problem statement.<\/p>\n<p><strong>Key takeaway:<\/strong> Every program in C and C++ has at least one function, that is, the <em><strong>main()<\/strong> <\/em><strong>function<\/strong>.<\/p>\n<h2>Syntax of Function<\/h2>\n<p>The basic syntax of a function in C\/C++ has 2 parts, namely:<\/p>\n<p><strong>1. Function Declaration\u00a0<\/strong><\/p>\n<p><em>return_type function_name<strong>( parameter list );<\/strong><\/em><\/p>\n<ul>\n<li>The function declaration informs the C\/C++ compiler about the return type and number of arguments\/parameters the function generates.<\/li>\n<li>It is not necessary to initially declare a function. The function can directly be defined.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-declaration-in-C-and-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60936\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-declaration-in-C-and-C.jpg\" alt=\"Function declaration in C and C++\" width=\"800\" height=\"420\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-declaration-in-C-and-C.jpg 800w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-declaration-in-C-and-C-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-declaration-in-C-and-C-300x158.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-declaration-in-C-and-C-768x403.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-declaration-in-C-and-C-520x273.jpg 520w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>2. Function Definition<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">Any function in C and C++ is defined in a similar way the main function is. Before the function name, we need to specify its return type. It depends on the wish of the programmer if he wants to pass any arguments to the function or not. The entire body of the function is enclosed within curly braces \u201c{ }\u201d and a set of statements is written that tells the function what to do.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">return_type function_name ( parameter list)\r\n{\r\nstatement(s)\r\n}<\/pre>\n<h2>Types of Function in C and C++<\/h2>\n<p>Functions in C and C++ are broadly classified into two categories, according to the ones already available in the C\/C++ compiler and the ones which can be defined and executed in run time. They are:<\/p>\n<h3>1. Standard Library Functions<\/h3>\n<ul>\n<li>These functions are already pre-defined by the C\/C++ compiler and hence cannot be modified. These functions act as pillars to the C and C++.<\/li>\n<li>They can be used to perform input and output operations using the<strong> scanf()\/cin<\/strong> and <strong>printf()\/cout<\/strong> <strong>function<\/strong> respectively, mathematical operations like finding the square root of a number or the power of a number using <strong>sqrt() or pow() function<\/strong> respectively, provided that the required header files are included.<\/li>\n<\/ul>\n<p>Here is a program that illustrates the use of <a href=\"https:\/\/data-flair.training\/blogs\/standard-library-functions-in-c\/\"><strong><em>standard library functions<\/em><\/strong><\/a>, considering a mathematical function, sqrt() to compute the square root of a positive integer:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#include &lt;stdio.h&gt;\r\n#include &lt;math.h&gt;\r\n\r\nint main()\r\n{\r\n\r\nprintf(\"Welcome to DataFlair tutorials!\\n\\n\");\r\ndouble number = 3, square_root;\r\n\r\nsquare_root = sqrt(number);\r\nprintf(\"The square root of %lf is: %lf\", number, square_root);\r\nreturn 0;\r\n}<\/pre>\n<p><strong>Code on Screen<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Functions-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-57544\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Functions-in-C.jpg\" alt=\"Standard Library Functions in With example\" width=\"1299\" height=\"684\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Functions-in-C.jpg 1299w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Functions-in-C-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Functions-in-C-300x158.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Functions-in-C-768x404.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Functions-in-C-1024x539.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Functions-in-C-520x274.jpg 520w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/a><\/p>\n<p><strong>Output-<\/strong><\/p>\n<h3><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Functions-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-57545\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Functions-in-C.jpg\" alt=\"Standard Library Functions in C Results\" width=\"1299\" height=\"741\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Functions-in-C.jpg 1299w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Functions-in-C-150x86.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Functions-in-C-300x171.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Functions-in-C-768x438.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Functions-in-C-1024x584.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Functions-in-C-520x297.jpg 520w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/a><\/h3>\n<p>&nbsp;<\/p>\n<h5>Example of Standard Library Function in C++<\/h5>\n<p>Here is a program in C++ that illustrates the use of standard library functions, considering a mathematical function, sqrt() to compute the square root of a positive integer:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#include &lt;iostream&gt;\r\n#include &lt;math.h&gt;\r\n\r\nusing namespace std;\r\n\r\nint main()\r\n{\r\n\r\ncout&lt;&lt;\"Welcome to DataFlair tutorials!\"&lt;&lt;endl&lt;&lt;endl;\r\ndouble number = 3, square_root;\r\n\r\nsquare_root = sqrt(number);\r\ncout&lt;&lt;\"The square root of \" &lt;&lt; number &lt;&lt; \" is: \" &lt;&lt; square_root&lt;&lt;endl;\r\n\r\nreturn 0;\r\n}<\/pre>\n<p><strong>Code-\u00a0<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Function-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60937\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Function-in-C.jpg\" alt=\"Example of Standard Library Function in C++\" width=\"1299\" height=\"551\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Function-in-C.jpg 1299w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Function-in-C-150x64.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Function-in-C-300x127.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Function-in-C-768x326.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Function-in-C-1024x434.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Standard-Library-Function-in-C-520x221.jpg 520w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/a><\/p>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Function-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60938\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Function-in-C.jpg\" alt=\"Output of Standard Library Function in C++\" width=\"1302\" height=\"528\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Function-in-C.jpg 1302w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Function-in-C-150x61.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Function-in-C-300x122.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Function-in-C-768x311.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Function-in-C-1024x415.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Standard-Library-Function-in-C-520x211.jpg 520w\" sizes=\"auto, (max-width: 1302px) 100vw, 1302px\" \/><\/a><\/p>\n<h3>2. User-defined Functions<\/h3>\n<p>As discussed earlier, the C and C++ language give the programmer the provision to declare and define his own functions, according to his own convenience. Another benefit it offers is that the user-defined function can be added to the <a href=\"https:\/\/en.wikipedia.org\/wiki\/C_standard_library\">standard library<\/a> for standard use.<\/p>\n<h5>Syntax of user defined function in C<\/h5>\n<p><em>#include &lt;stdio.h&gt;<\/em><br \/>\n<em>void function_name()<\/em><br \/>\n<em>{<\/em><br \/>\n<em>statement(s) \/\/ Body of the function<\/em><br \/>\n<em>}<\/em><\/p>\n<p><em>int main()<\/em><br \/>\n<em>{<\/em><br \/>\n<em>statement(s)<\/em><\/p>\n<p><em>function_name(); \/\/ Function calling<\/em><\/p>\n<p><em>statement(s)<\/em><br \/>\n<em>}<\/em><\/p>\n<h5>Example of User-defined Function in C<\/h5>\n<p>Here is a code in C which illustrates the use of a<strong> user-function in C<\/strong> to compute the area of a right-angled triangle:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#include&lt;stdio.h&gt;\r\n#include&lt;math.h&gt;\r\n\r\ndouble area_of_triangle(double,double); \/\/ function declaration\r\n\r\nint main()\r\n{\r\n\r\nprintf(\"Welcome to DataFlair tutorials!\\n\\n\");\r\n\r\ndouble base, height, area; \r\nprintf(\"Enter the base and height of the triangle respectively: \"); \r\nscanf(\"%lf%lf\", &amp;base, &amp;height); \r\narea = area_of_triangle(base, height); \r\nprintf(\"The area of the triangle is: %.2lf\\n\", area); \r\nreturn 0; \r\n}\r\n\r\ndouble area_of_triangle(double base, double height)\r\n{\r\n\r\ndouble area; \r\narea = 0.5*base*height; \r\nreturn area;\r\n}<\/pre>\n<p><strong>Code on Screen-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Functions-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-57546\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Functions-in-C.jpg\" alt=\"User-defined Functions in C With example\" width=\"1299\" height=\"702\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Functions-in-C.jpg 1299w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Functions-in-C-150x81.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Functions-in-C-300x162.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Functions-in-C-768x415.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Functions-in-C-1024x553.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Functions-in-C-520x281.jpg 520w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/a><\/p>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Result-of-User-defined-Functions-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-57547\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Result-of-User-defined-Functions-in-C.jpg\" alt=\"User-defined Functions in C with Output\" width=\"1299\" height=\"740\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Result-of-User-defined-Functions-in-C.jpg 1299w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Result-of-User-defined-Functions-in-C-150x85.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Result-of-User-defined-Functions-in-C-300x171.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Result-of-User-defined-Functions-in-C-768x438.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Result-of-User-defined-Functions-in-C-1024x583.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Result-of-User-defined-Functions-in-C-520x296.jpg 520w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/a><\/p>\n<h5>Syntax of User-defined Function in C++<\/h5>\n<p><em>#include &lt;iostream&gt;<\/em><br \/>\n<em>using namespace std;<\/em><br \/>\n<em>void function_name()<\/em><br \/>\n<em>{<\/em><br \/>\n<em>statement(s) \/\/ Body of the function<\/em><br \/>\n<em>}<\/em><\/p>\n<p><em>int main()<\/em><br \/>\n<em>{<\/em><br \/>\n<em>statement(s)<\/em><\/p>\n<p><em>function_name(); \/\/ Function calling<\/em><\/p>\n<p><em>statement(s)<\/em><br \/>\n<em>}<\/em><\/p>\n<h5>Example of User-defined Function in C++<\/h5>\n<p>Here is a code in C++ which illustrates the use of a user-function to compute the area of a right-angled triangle:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#include &lt;iostream&gt;\r\n#include &lt;math.h&gt;\r\nusing namespace std;\r\n\r\ndouble area_of_triangle(double,double); \/\/ function declaration\r\n\r\nint main()\r\n{\r\ncout&lt;&lt;\"Welcome to DataFlair tutorials!\"&lt;&lt;endl&lt;&lt;endl;\r\n\r\ndouble base, height, area; \r\ncout&lt;&lt;\"Enter the base and height of the triangle respectively: \"; \r\ncin&gt;&gt;base;\r\ncin&gt;&gt;height; \r\narea = area_of_triangle(base, height); \r\ncout&lt;&lt;\"The area of the triangle is: \"&lt;&lt; area &lt;&lt;endl; \r\nreturn 0; \r\n}\r\n\r\ndouble area_of_triangle(double base, double height)\r\n{\r\n\r\ndouble area; \r\narea = 0.5*base*height; \r\nreturn area;\r\n}<\/pre>\n<p><strong>Code<\/strong>&#8211;<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Function-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60939\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Function-in-C.jpg\" alt=\"Example of User-defined Function in C++\" width=\"1296\" height=\"605\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Function-in-C.jpg 1296w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Function-in-C-150x70.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Function-in-C-300x140.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Function-in-C-768x359.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Function-in-C-1024x478.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-User-defined-Function-in-C-520x243.jpg 520w\" sizes=\"auto, (max-width: 1296px) 100vw, 1296px\" \/><\/a><\/p>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60941\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C.jpg\" alt=\"Output of User-defined Function in C++\" width=\"1299\" height=\"596\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C.jpg 1299w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C-150x69.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C-300x138.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C-768x352.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C-1024x470.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C-980x450.jpg 980w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-User-defined-Function-in-C-520x239.jpg 520w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/a><\/p>\n<p><strong>Key takeaway:<\/strong><\/p>\n<ul>\n<li>Program execution starts from the <strong>main() function<\/strong>.<\/li>\n<li>As soon as the function is called in the main function, the flow of control goes over to the function and the function gets executed.<\/li>\n<li>After the function has been executed, the flow of control returns back to the next statement in the main() function.<\/li>\n<\/ul>\n<p>In order to acquaint you with the syntax of functions, let\u2019s go back to the introductory problem.<\/p>\n<p>For simplicity sake, let\u2019s consider only one set of a triangle.<\/p>\n<h2>Importance of Functions in C and C++<\/h2>\n<p>So far we saw a couple of codes for function in\u00a0 C and C++ which helped us gain an insight as to why functions are an integral part of a programming language.<\/p>\n<p>To sum it up, here are the<em> salient features of functions in C\/C++\u00a0<\/em>which make it so appealing:<\/p>\n<ol>\n<li><strong>Simple:<\/strong> It is easy to comprehend, define and apply. It basically increases the readability of the code by dividing the code into smaller fragments.<\/li>\n<li><strong>Control:<\/strong> The flow of control from one part of the program to the other is made easier.<\/li>\n<li><strong>Reusability:<\/strong> The reusability of the code increases.<\/li>\n<li><strong>Error-finding:<\/strong> Debugging the program becomes easy as the entire program is divided into small fragments.<\/li>\n<li><strong>Less-Redundant:<\/strong> Redundancy is decreased making the program efficient and faster.<\/li>\n<li><strong>Time-saving:<\/strong> It saves a considerable amount of time.<\/li>\n<\/ol>\n<h2>Function Call Methods<\/h2>\n<p>In order to understand <em>what a function call is<\/em>, we need to understand the difference between actual parameters and formal parameters.<\/p>\n<table dir=\"ltr\">\n<colgroup>\n<col width=\"100\" \/>\n<col width=\"100\" \/><\/colgroup>\n<tbody>\n<tr>\n<td><strong>ACTUAL PARAMETER<\/strong><\/td>\n<td>\n<div>\n<div><strong>FORMAL PARAMETER<\/strong><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>We use while calling the function.<\/td>\n<td>Use it in the function header.<\/td>\n<\/tr>\n<tr>\n<td>We pass the actual values to the function definition through the function call.<\/td>\n<td>We use it to receive the values that we pass to the function through function calls.<\/td>\n<\/tr>\n<tr>\n<td>The values may be variable (global or local) or constant<\/td>\n<td>The values are simply local variables<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In C and C++, there are basically 2 methods to call a function:<\/p>\n<p><strong>1. Call by value:<\/strong> The actual parameters get copied to the formal parameters but both the parameters are created in different memory locations. Any changes that are made inside the functions are not reflected in other functions.<\/p>\n<p><strong>2. Call by reference:<\/strong> Instead of the actual value, the address of the value is passed to the function and both the parameters will be created in the same memory location. If changes are made inside the functions, it would be reflected in other functions.<\/p>\n<h2>Types of Function Arguments<\/h2>\n<p>C and C++ give the programmer the provision to define and use a function with or without arguments or with or without return types.<\/p>\n<p>But it is important to note that in C\/C++, functions cannot return arrays or other functions.<br \/>\nConsidering the possibilities in hand, we can say that there are basically 4 types of function arguments are available. They are namely:<\/p>\n<ul>\n<li>Without arguments and without return value<\/li>\n<li>With arguments and without return value<\/li>\n<li>Without arguments and with a return value<\/li>\n<li>With arguments and with a return value<\/li>\n<\/ul>\n<h2>Math Functions in C and C++<\/h2>\n<p>The C\/C++ Standard library offers a variety of in-built mathematical functions. Instead of deriving the logic of certain mathematical problems on our own, we can always choose the easier way out. C\/C++ gives the programmer the provision to directly use some of the pre-defined functions accessible through the &lt;math.h&gt; header file.<\/p>\n<p>Here are some of the functions available in the C Standard Library:<\/p>\n<ol>\n<li><strong>pow (parameter1 , parameter2) &#8211;\u00a0<\/strong>The pow function calculates the power of a number to which it is raised. There are essentially 2 parameters, the first one in which we have to put the base value and the second one in which the exponent value.<\/li>\n<li><strong>sqrt (parameter) &#8211;<\/strong>\u00a0The sqrt function computes the square root of a number entered as a parameter.<\/li>\n<li><strong>abs (parameter) &#8211;<\/strong>\u00a0The abs function computes the absolute value of an integer. In other words, if a negative integer is entered, it becomes positive.<\/li>\n<li><strong>ceil (parameter)\u00a0 &#8211;\u00a0<\/strong>The ceil function rounds off the value of a given number entered as a parameter. It returns an integral value either greater than or equal to that number.<\/li>\n<li><strong>floor (parameter) &#8211;\u00a0<\/strong>The floor function also rounds off the value of a given number entered as a parameter. It returns an integral value either lesser than or equal to that number.<\/li>\n<li><strong>fabs (parameter) &#8211;<\/strong>\u00a0Just like the abs function, the fabs function converts the given number into a positive number but the difference is that the fabs function works with floating-point values as well.<\/li>\n<li><strong>log (parameter) &#8211;\u00a0<\/strong>The log function computes the logarithmic value of the given number with respect to the base taken as constant value \u2018e\u2019.<\/li>\n<li><strong>log10 (parameter) &#8211;\u00a0<\/strong>The log10 function computes the logarithmic value of the given number with respect to the base taken as 10.<\/li>\n<li><strong>fmod (parameter1, parameter2) &#8211;\u00a0<\/strong>The fmod function computes the remainder when the given value in the first parameter is divided by the given value in the second parameter.<\/li>\n<li><strong>modf (parameter1, *parameter2) &#8211;<\/strong>\u00a0The modf function returns the fractional part of the given value (The decimal part of a number) entered as the first parameter.<\/li>\n<li><strong>exp (parameter) &#8211;<\/strong> The exp function computes the value of e to the power the value of the parameter entered, that is, eparameter.<\/li>\n<li><strong>sin (parameter) &#8211;\u00a0<\/strong>The sin function computes the sine of a given number entered as the parameter.<\/li>\n<li><strong>cos (parameter) &#8211;<\/strong> The cos function computes the cosine of a given number entered as the parameter.<\/li>\n<li><strong>tan (parameter) &#8211;\u00a0<\/strong>The tan function computes the tangent of a given number entered as the parameter.<\/li>\n<li><strong>asin (parameter) &#8211;\u00a0<\/strong>The asin function computes the arc sine of a given number entered as the parameter.<\/li>\n<li><strong>acos (parameter) &#8211;\u00a0T<\/strong>he acos function computes the arc cosine of a given number entered as the parameter.<\/li>\n<li><strong>atan (parameter) &#8211;<\/strong> The atan function computes the arc tangent of a given number entered as the parameter.<\/li>\n<li><strong>sinh (parameter) &#8211;\u00a0<\/strong>The sinh function computes the hyperbolic sine of the value entered as the parameter.<\/li>\n<li><strong>cosh (parameter) &#8211;\u00a0<\/strong> The cosh function computes the hyperbolic cosine of the value entered as the parameter.<\/li>\n<li><strong>tanh (parameter) &#8211;\u00a0<\/strong>The tanh function computes the hyperbolic tangent of the value entered as the parameter.<\/li>\n<\/ol>\n<p><em><strong>Learn <a href=\"https:\/\/data-flair.training\/blogs\/virtual-function-in-cpp\/\">Virtual Function in C++<\/a> with Real-time Example<\/strong><\/em><\/p>\n<p><em><strong>Key takeaway:<\/strong> All the trigonometric values should be in radian.<\/em><\/p>\n<h5>Example of Math Function in C<\/h5>\n<p>Here is a code in C that illustrates the use of some of the basic mathematical functions available in the C programming language.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#include &lt;stdio.h&gt; \r\n#include &lt;stdlib.h&gt;\r\n#include &lt;math.h&gt;\r\n\r\nint main()\r\n{\r\n\r\nprintf(\"Welcome to DataFlair tutorials!\\n\\n\");\r\n\r\nprintf(\"%f\\n\",ceil(1.8)); \r\nprintf(\"%f\\n\",ceil(5.2)); \r\n\r\nprintf(\"%f\\n\",floor(4.9)); \r\nprintf(\"%f\\n\",floor(3.3)); \r\n\r\nprintf(\"%f\\n\",sqrt(144)); \r\nprintf(\"%f\\n\",sqrt(50)); \r\n\r\nprintf(\"%f\\n\",pow(2,10)); \r\nprintf(\"%f\\n\",pow(4,4)); \r\n\r\nprintf(\"%d\\n\",abs(-18)); \r\nprintf(\"%d\\n\",abs(30)); \r\n\r\nreturn 0; \r\n}<\/pre>\n<p><strong>Code-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60943\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C.jpg\" alt=\"Example of Math Function in C\" width=\"1301\" height=\"619\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C.jpg 1301w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-150x71.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-300x143.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-768x365.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1024x487.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-520x247.jpg 520w\" sizes=\"auto, (max-width: 1301px) 100vw, 1301px\" \/><\/a><\/p>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60945\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C.jpg\" alt=\"Output of Math Function in C\" width=\"1303\" height=\"591\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C.jpg 1303w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-150x68.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-300x136.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-768x348.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1024x464.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-520x236.jpg 520w\" sizes=\"auto, (max-width: 1303px) 100vw, 1303px\" \/><\/a><\/p>\n<p><em><strong>Since C++ is the superset of C, it is pretty obvious that C++ supports more functions than C.<\/strong><\/em><\/p>\n<p>Here are some of the additional mathematical function included in <strong>&lt;math.h&gt;<\/strong> Library in C++:<\/p>\n<ol>\n<li><strong>hypot (parameter1 , parameter2) &#8211;<\/strong>\u00a0The hypot() function computes the hypotenuse of a right-angled triangle by taking the other two known sides of the triangle as parameters.<\/li>\n<li><strong>atan2 (parameter1 , parameter2) &#8211;\u00a0<\/strong>The atan2 function computes the tangent of parameter1\/parameter2<\/li>\n<\/ol>\n<h5>Example of Math Function in C++<\/h5>\n<p>Here is a code in C++ that illustrates the use of some of the basic mathematical functions:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#include &lt;iostream&gt;\r\n#include &lt;stdlib.h&gt;\r\n#include&lt;math.h&gt;\r\nusing namespace std;\r\n\r\nint main()\r\n{\r\n\r\ncout&lt;&lt;\"Welcome to DataFlair tutorials!\"&lt;&lt;endl&lt;&lt;endl;\r\n\r\ndouble a = 49;\r\ndouble b = 16;\r\ndouble c = 2;\r\ndouble d = -5;\r\ndouble x = 0.785398; \/\/ Value in radians of 45 degrees\r\ndouble f = 3;\r\ndouble g = 5;\r\n\r\n\/\/ Basic math functions\r\ncout &lt;&lt; \"The square root value of \"&lt;&lt; a &lt;&lt; \" is: \" &lt;&lt; sqrt(a) &lt;&lt; endl; \r\ncout &lt;&lt; b &lt;&lt; \" raised \" &lt;&lt; \" to the power \" &lt;&lt; c &lt;&lt; \" is: \" &lt;&lt; pow(b, c) &lt;&lt; endl; \r\ncout &lt;&lt; \"The absolute value of \" &lt;&lt; d &lt;&lt; \" is: \" &lt;&lt; abs(d) &lt;&lt; endl; \r\n\/\/ Trigonometric functions\r\ncout &lt;&lt; \"The sine of \" &lt;&lt; x &lt;&lt; \" is: \" &lt;&lt; sin(x) &lt;&lt; endl; \r\ncout &lt;&lt; \"The cosine of \" &lt;&lt; x &lt;&lt; \" is: \" &lt;&lt; cos(x) &lt;&lt; endl; \r\ncout &lt;&lt; \"The tangent of \" &lt;&lt; x &lt;&lt; \" is: \" &lt;&lt; tan(x) &lt;&lt; endl; \r\ncout &lt;&lt; \"The atan2 of \" &lt;&lt; b &lt;&lt; \" and \" &lt;&lt; c &lt;&lt; \" is: \" &lt;&lt; atan2(b,c) &lt;&lt; endl; \r\n\/\/ Pythagoras\r\ncout&lt;&lt; \"The hypotenuse of the right angled triangle of sides \"&lt;&lt; f &lt;&lt; \" and \" &lt;&lt; \" g \" &lt;&lt; \" is: \" &lt;&lt; hypot(f,g)&lt;&lt;endl;\r\n\r\nreturn 0;\r\n}<\/pre>\n<p><strong>Code-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60947\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1.jpg\" alt=\"Example of Math Function in C++\" width=\"1304\" height=\"666\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1.jpg 1304w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1-150x77.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1-300x153.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1-768x392.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1-1024x523.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Example-of-Math-Function-in-C-1-520x266.jpg 520w\" sizes=\"auto, (max-width: 1304px) 100vw, 1304px\" \/><\/a><\/p>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-60948\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1.jpg\" alt=\"Output of Math Function in C++\" width=\"1305\" height=\"591\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1.jpg 1305w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1-150x68.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1-300x136.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1-768x348.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1-1024x464.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Output-of-Math-Function-in-C-1-520x235.jpg 520w\" sizes=\"auto, (max-width: 1305px) 100vw, 1305px\" \/><\/a><\/p>\n<h3>Quiz on Functions in C and C++<\/h3>\n<div class=\"learndash user_has_no_access\"  id=\"learndash_post_95120\"><div class=\"learndash-wrapper\">\n\n<div class=\"ld-tabs ld-tab-count-1\">\n\t\n\t<div class=\"ld-tabs-content\">\n\t\t\n\t\t\t<div role=\"tabpanel\" tabindex=\"0\" aria-labelledby=\"content\" class=\"ld-tab-content ld-visible\" id=\"ld-tab-content-57490\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\n\t<\/div> <!--\/.ld-tabs-content-->\n\n<\/div> <!--\/.ld-tabs-->\n\t\t<div class=\"wpProQuiz_content\" id=\"wpProQuiz_296\" data-quiz-meta=\"{&quot;quiz_pro_id&quot;:296,&quot;quiz_post_id&quot;:95120}\">\n\t\t\t<div class=\"wpProQuiz_spinner\" style=\"display:none\">\n\t\t\t\t<div><\/div>\n\t\t\t<\/div>\n\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_time_limit\">\n\t<div class=\"time\">\n\t\tTime limit: <span>0<\/span>\t<\/div>\n\t<div class=\"wpProQuiz_progress\"><\/div>\n<\/div>\n<div class=\"wpProQuiz_checkPage\" style=\"display: none;\">\n\t<h4 class=\"wpProQuiz_header\">\n\tQuiz Summary\t<\/h4>\n\t<p><span>0<\/span> of 15 Questions completed<\/p>\t<p>Questions:<\/p>\n\t<div class=\"wpProQuiz_reviewSummary\"><\/div>\n\n\t\n\t<input type=\"button\" name=\"endQuizSummary\" value=\"Finish Quiz\" class=\"wpProQuiz_button\" \/> <\/div>\n<div class=\"wpProQuiz_infopage\" style=\"display: none;\">\n\t<h4>Information<\/h4>\n\t\t<input type=\"button\" name=\"endInfopage\" value=\"Finish Quiz\" class=\"wpProQuiz_button\" \/> <\/div>\n<div class=\"wpProQuiz_text\">\n\t\t<div>\n\t\t<input class=\"wpProQuiz_button\" type=\"button\" \n\t\tvalue=\"Start Quiz\" name=\"startQuiz\" \/>\t<\/div>\n<\/div>\n<div style=\"display: none;\" class=\"wpProQuiz_lock\">\t\t\n\t<p>You have already completed the quiz before. Hence you can not start it again.<\/p><\/div>\n<div style=\"display: none;\" class=\"wpProQuiz_loadQuiz\">\n\t<p>\n\t\tQuiz is loading&#8230;\t<\/p>\n<\/div>\n<div style=\"display: none;\" class=\"wpProQuiz_startOnlyRegisteredUser\">\n\t<p>You must sign in or sign up to start the quiz.<\/p><\/div>\n<div style=\"display: none;\" class=\"wpProQuiz_prerequisite\">\n\t<p>You must first complete the following: <span><\/span><\/p><\/div>\n<div style=\"display: none;\" class=\"wpProQuiz_sending\">\n\t<h4 class=\"wpProQuiz_header\">Results<\/h4>\n\t<p>\n\t\t<div>\n\t\tQuiz complete. Results are being recorded.\t\t<\/div>\n\t\t<div>\n\t\t\t<dd class=\"course_progress\">\n\t\t\t\t<div class=\"course_progress_blue sending_progress_bar\" style=\"width: 0%;\">\n\t\t\t\t<\/div>\n\t\t\t<\/dd>\n\t\t<\/div>\n\t<\/p>\n<\/div>\n\n<div style=\"display: none;\" class=\"wpProQuiz_results\">\n\t<h4 class=\"wpProQuiz_header\">Results<\/h4>\n\t<p><span class=\"wpProQuiz_correct_answer\">0<\/span> of <span>15<\/span> Questions answered correctly<\/p>\t\t<p class=\"wpProQuiz_quiz_time\">\n\t\tYour time: <span><\/span>\t\t<\/p>\n\t\t\t<p class=\"wpProQuiz_time_limit_expired\" style=\"display: none;\">\n\tTime has elapsed\t<\/p>\n\n\t\t\t<p class=\"wpProQuiz_points\">\n\t\tYou have reached <span>0<\/span> of <span>0<\/span> point(s), (<span>0<\/span>)\t\t<\/p>\n\t\t<p class=\"wpProQuiz_graded_points\" style=\"display: none;\">\n\t\tEarned Point(s): <span>0<\/span> of <span>0<\/span>, (<span>0<\/span>)\t\t<br \/>\n\t\t<span>0<\/span> Essay(s) Pending (Possible Point(s): <span>0<\/span>)\t\t<br \/>\n\t\t<\/p>\n\t\t\n\t<div class=\"wpProQuiz_catOverview\" style=\"display:none;\">\n\t\t<h4>\n\t\tCategories\t\t<\/h4>\n\n\t\t<div style=\"margin-top: 10px;\">\n\t\t\t<ol>\n\t\t\t\t\t\t\t<li data-category_id=\"0\">\n\t\t\t\t\t<span class=\"wpProQuiz_catName\">Not categorized<\/span>\n\t\t\t\t\t<span class=\"wpProQuiz_catPercent\">0%<\/span>\n\t\t\t\t<\/li>\n\t\t\t\t\t\t\t<\/ol>\n\t\t<\/div>\n\t<\/div>\n\t<div>\n\t\t<ul class=\"wpProQuiz_resultsList\">\n\t\t\t\t\t\t\t<li style=\"display: none;\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/li>\n\t\t\t\t\t<\/ul>\n\t<\/div>\n\t\t<div class=\"ld-quiz-actions\" style=\"margin: 10px 0px;\">\n\t\t\t\t<div class='quiz_continue_link\n\t\t\t\t'>\n\n\t\t<\/div>\n\t\t\t\t\t<input class=\"wpProQuiz_button wpProQuiz_button_restartQuiz\" type=\"button\" name=\"restartQuiz\"\n\t\t\t\t\tvalue=\"Restart Quiz\"\/>\t\t\t\t\t\t<input class=\"wpProQuiz_button wpProQuiz_button_reShowQuestion\" type=\"button\" name=\"reShowQuestion\"\n\t\t\t\t\tvalue=\"View Questions\" \/>\t\t\t\t\t<\/div>\n<\/div>\n<div class=\"wpProQuiz_reviewDiv\" style=\"display: none;\">\n\t<div class=\"wpProQuiz_reviewQuestion\">\n\t<ol>\n\t\t\t\t\t<li>1<\/li>\n\t\t\t\t\t<li>2<\/li>\n\t\t\t\t\t<li>3<\/li>\n\t\t\t\t\t<li>4<\/li>\n\t\t\t\t\t<li>5<\/li>\n\t\t\t\t\t<li>6<\/li>\n\t\t\t\t\t<li>7<\/li>\n\t\t\t\t\t<li>8<\/li>\n\t\t\t\t\t<li>9<\/li>\n\t\t\t\t\t<li>10<\/li>\n\t\t\t\t\t<li>11<\/li>\n\t\t\t\t\t<li>12<\/li>\n\t\t\t\t\t<li>13<\/li>\n\t\t\t\t\t<li>14<\/li>\n\t\t\t\t\t<li>15<\/li>\n\t\t\t<\/ol>\n\t<div style=\"display: none;\"><\/div>\n<\/div>\n<div class=\"wpProQuiz_reviewLegend\">\n\t<ol>\n\t\t<li class=\"learndash-quiz-review-legend-item-current\">\n\t\t\t<span class=\"wpProQuiz_reviewColor wpProQuiz_reviewQuestion_Target\"><\/span>\n\t\t\t<span class=\"wpProQuiz_reviewText\">Current<\/span>\n\t\t<\/li>\n\t\t<li class=\"learndash-quiz-review-legend-item-review\">\n\t\t\t<span class=\"wpProQuiz_reviewColor wpProQuiz_reviewColor_Review\"><\/span>\n\t\t\t<span class=\"wpProQuiz_reviewText\">Review \/ Skip<\/span>\n\t\t<\/li>\n\t\t<li class=\"learndash-quiz-review-legend-item-answered\">\n\t\t\t<span class=\"wpProQuiz_reviewColor wpProQuiz_reviewColor_Answer\"><\/span>\n\t\t\t<span class=\"wpProQuiz_reviewText\">Answered<\/span>\n\t\t<\/li>\n\t\t<li class=\"learndash-quiz-review-legend-item-correct\">\n\t\t\t<span class=\"wpProQuiz_reviewColor wpProQuiz_reviewColor_AnswerCorrect\"><\/span>\n\t\t\t<span class=\"wpProQuiz_reviewText\">Correct<\/span>\n\t\t<\/li>\n\t\t<li class=\"learndash-quiz-review-legend-item-incorrect\">\n\t\t\t<span class=\"wpProQuiz_reviewColor wpProQuiz_reviewColor_AnswerIncorrect\"><\/span>\n\t\t\t<span class=\"wpProQuiz_reviewText\">Incorrect<\/span>\n\t\t<\/li>\n\t<\/ol>\n\t<div style=\"clear: both;\"><\/div>\n<\/div>\n<div class=\"wpProQuiz_reviewButtons\">\n\t\t\t<input type=\"button\" name=\"review\" value=\"Review Question\" class=\"wpProQuiz_button2\" style=\"float: left; display: block;\"> \t\t\t\t\t<input type=\"button\" name=\"quizSummary\" value=\"Quiz Summary\" class=\"wpProQuiz_button2\" style=\"float: right;\"> \t\t\t\t<div style=\"clear: both;\"><\/div>\n\t<\/div>\n<\/div>\n<div class=\"wpProQuiz_quizAnker\" style=\"display: none;\"><\/div>\n<div style=\"display: none;\" class=\"wpProQuiz_quiz\">\n\t<ol class=\"wpProQuiz_list\">\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:6977,&quot;question_post_id&quot;:95121}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>1<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>1<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<\/p>\n<p>using namespace std;<br \/>int add(int x, int y)<br \/>{<br \/>return x+y;<br \/>}<br \/>int main()<br \/>{<br \/>int a=5, b=6;<br \/>int result=add(a,b);<br \/>cout&lt;&lt;result;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"6977\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_6977\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\">  Error\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_6977\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> 5\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_6977\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> 11\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_6977\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> 6\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4493,&quot;question_post_id&quot;:95122}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>2<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>2<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<\/p>\n<p>using namespace std;<br \/>void change(int *x)<br \/>{<br \/>*x=*x*2;<br \/>}<br \/>int main()<br \/>{<br \/>int a=5;<br \/>change(&amp;a);<br \/>cout&lt;&lt;a;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4493\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4493\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> 5\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4493\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> 10\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4493\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> 2\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4493\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4494,&quot;question_post_id&quot;:95123}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>3<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>3<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<\/p>\n<p>using namespace std;<br \/>int *change(int *x)<br \/>{<br \/>*x=*x+15;<br \/>}<br \/>int main()<br \/>{<br \/>int a=5, b=0;<br \/>b=*change(&amp;a);<br \/>cout&lt;&lt;b;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4494\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4494\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> 20\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4494\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> 10\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4494\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4494\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> 5\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4495,&quot;question_post_id&quot;:95124}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>4<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>4<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<\/p>\n<p>using namespace std;<br \/>int *Ascii(char c)<br \/>{<br \/>int a=c;<br \/>}<br \/>int main()<br \/>{<br \/>char c=&#8217;z&#8217;;<br \/>int b=*Ascii(c);<br \/>cout&lt;&lt;b;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4495\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4495\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> Segmentation fault\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4495\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4495\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> 3\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4495\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> 122\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4496,&quot;question_post_id&quot;:95125}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>5<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>5<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<\/p>\n<p>using namespace std;<br \/>char *Ascii(char *c)<br \/>{<br \/>*c=122;<\/p>\n<p>}<br \/>int main()<br \/>{<br \/>char b, c=&#8217;h&#8217;;<br \/>b=*Ascii(&amp;c);<br \/>cout&lt;&lt;b;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4496\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4496\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> 122\n\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4496\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> z\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4496\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> Segmentation fault\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4496\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> h\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4497,&quot;question_post_id&quot;:95126}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>6<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>6<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<\/p>\n<p>using namespace std;<br \/>int convert(char x)<br \/>{<br \/>int b =x;<br \/>}<br \/>int main()<br \/>{<br \/>char c=&#8217;a&#8217;;<br \/>int b=convert(c);<br \/>cout&lt;&lt;b;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4497\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4497\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> 97\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4497\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> a\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4497\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4497\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\">  Error\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4498,&quot;question_post_id&quot;:95127}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>7<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>7<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<br \/>#include<\/p>\n<p>using namespace std;<br \/>float func(char x, int y)<br \/>{<br \/>float f = x\/y;<br \/>}<br \/>int main()<br \/>{<br \/>char c=&#8217;z&#8217;; int a=50;<br \/>float b=func(c,a);<br \/>cout&lt;&lt;fixed&lt;&lt;setprecision(3)&lt;&lt;b;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4498\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4498\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> 1.000\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4498\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> error Option\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4498\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> 2.444\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4498\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> 2.000\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4499,&quot;question_post_id&quot;:95128}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>8<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>8<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<br \/>#include<\/p>\n<p>using namespace std;<br \/>int max(int x, int y)<br \/>{<br \/>if(x&gt;y)<br \/>return x;<br \/>else<br \/>return y;<br \/>}<br \/>int main()<br \/>{<br \/>int a=10, b=12;<br \/>cout&lt;&lt;max(a,b);<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4499\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4499\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> 12\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4499\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> 10\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4499\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> 12\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4499\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4500,&quot;question_post_id&quot;:95129}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>9<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>9<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<br \/>#include<\/p>\n<p>using namespace std;<br \/>int count(string x)<br \/>{<br \/>int a=sizeof(x);<br \/>return a;<br \/>}<br \/>int main()<br \/>{<br \/>string S=&#8221;Delhi&#8221;;<br \/>int a=count(S);<br \/>cout&lt;&lt;a;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4500\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4500\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> 5\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4500\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> 6\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4500\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> 7\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4500\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> 8\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4501,&quot;question_post_id&quot;:95130}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>10<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>10<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What will be the output of the following code?<\/p>\n<p>#include<br \/>#include<\/p>\n<p>using namespace std;<br \/>int count(string x)<br \/>{<br \/>int a=sizeof(x);<\/p>\n<p>}<br \/>int main()<br \/>{<br \/>string S=&#8221;Delhi&#8221;;<br \/>int a=count(S);<br \/>cout&lt;&lt;a;<br \/>return 0;<br \/>}<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4501\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4501\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> Error \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4501\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\"> 6\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4501\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> 7\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4501\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\"> 8\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4502,&quot;question_post_id&quot;:95131}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>11<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>11<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What parameter passing method is it, if values of actual parameters are copied to functional parameters?<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4502\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4502\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> pass by value \n\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4502\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\">  pass by reference \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4502\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\"> formal parameter \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4502\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\">  actual parameter\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4503,&quot;question_post_id&quot;:95132}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>12<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>12<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What function is called by the operating system when a user runs a program?<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4503\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4503\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\">  friend \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4503\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\">  Inline \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4503\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\">  main \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4503\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\">  virtual\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4504,&quot;question_post_id&quot;:95133}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>13<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>13<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>If the actual and formal parameter refers to the same location, what parameter passing method is it?<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4504\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4504\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> pass by value \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4504\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\">  pass by reference \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4504\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\">  formal parameter \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4504\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\">  actual parameter\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4505,&quot;question_post_id&quot;:95134}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>14<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>14<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>Putting passed parameters name is necessary in:<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4505\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4505\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\">  function declaration \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4505\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\">  function definition \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4505\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\">  both \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4505\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\">  none of the above\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t\t\t<li class=\"wpProQuiz_listItem\" style=\"display: none;\" data-type=\"single\" data-question-meta=\"{&quot;type&quot;:&quot;single&quot;,&quot;question_pro_id&quot;:4506,&quot;question_post_id&quot;:95135}\">\n\t\t\t\t<div class=\"wpProQuiz_question_page\" style=\"display:none;\" >\n\t\t\t\tQuestion <span>15<\/span> of <span>15<\/span>\t\t\t\t<\/div>\n\t\t\t\t<h5 style=\"display: inline-block;\" class=\"wpProQuiz_header\">\n\t\t\t\t\t<span>15<\/span>. Question\n\t\t\t\t<\/h5>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_question\" style=\"margin: 10px 0px 0px 0px;\">\n\t\t\t\t\t<div class=\"wpProQuiz_question_text\">\n\t\t\t\t\t\t<p>What among the following is not an advantage of function?<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<p class=\"wpProQuiz_clear\" style=\"clear:both;\"><\/p>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<ul class=\"wpProQuiz_questionList\" data-question_id=\"4506\"\n\t\t\t\t\t\tdata-type=\"single\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4506\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"1\"> Reduces code redundancy \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"1\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4506\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"2\">  Makes code modular \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4506\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"3\">  Provides abstractions \t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<li class=\"wpProQuiz_questionListItem\" data-pos=\"3\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"display:none;\"><\/span>\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input class=\"wpProQuiz_questionInput\" autocomplete=\"off\"\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"question_296_4506\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"4\">  None of the above\t\t\t\t\t\t\t\t\t\t<\/label>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_response\" style=\"display: none;\">\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_correct\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tCorrect\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"display: none;\" class=\"wpProQuiz_incorrect\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\tIncorrect\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpProQuiz_AnswerMessage\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"skip\" value=\"Skip question\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left; margin-right: 10px ;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"back\" value=\"Back\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: left ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"button\" name=\"check\" value=\"Check\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right ; margin-right: 10px ; display: none;\"> \t\t\t\t\t\t\t\t<input type=\"button\" name=\"next\" value=\"Next\" class=\"wpProQuiz_button wpProQuiz_QuestionButton\" style=\"float: right; display: none;\"> \t\t\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\n\n\t\t\t\t\t\t\t<\/li>\n\n\t\t\t<\/ol>\n\t<\/div>\n\t\t<\/div>\n\t\t\n<\/div> <!--\/.learndash-wrapper-->\n<\/div>\n<h2>Summary<\/h2>\n<p>Now, you know the importance of functions in C and C++ and why we declare them. After this discussion, it is safe to say that C\/C++ without functions is a sportsman without a ribcage. Hence it is crucial to understand the concept of functions to become a good programmer and become pioneers in the field of programming by developing your own functions.<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1522,&quot;href&quot;:&quot;https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/C_standard_library&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251003063855\\\/https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/C_standard_library&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 10:15:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-14 06:39:53&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-17 08:07:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-20 18:32:42&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-24 11:15:57&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2025-12-29 11:36:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-01 17:04:13&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-05 13:42:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-08 13:58:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-11 21:37:30&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-17 18:10:27&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-24 02:30:38&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-27 06:24:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-01 10:31:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-06 21:24:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 10:32:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-14 08:07:59&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 22:31:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-21 04:05:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-25 05:18:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-02 07:11:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-05 16:01:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-10 06:52:16&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-13 20:39:44&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-17 14:47:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-21 16:39:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-27 17:06:48&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-31 11:56:44&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-06 17:56:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-10 04:50:14&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-04-14 23:27:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-20 01:27:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-24 05:33:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-27 10:59:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-30 14:09:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-03 19:20:28&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-05-07 10:23:27&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-11 14:39:45&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-15 05:16:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-18 16:26:33&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-22 20:01:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-27 01:56:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-31 04:14:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-04 22:19:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-08 18:22:23&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-13 00:22:56&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-13 00:22:56&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Function in C and C++ is a set of statements that we use in order to take various inputs and perform some calculations or computations to obtain the output. This tutorial is specially dedicated&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":60935,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19488],"tags":[20010,20006,24344,20002,20009,20007,20004,20005,20003,20008],"class_list":["post-57490","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-programming","tag-c-function-arguments","tag-c-function-syntax","tag-c-functions","tag-c-functions-tutorial","tag-function-call-methods","tag-standard-library-functions-in-c","tag-types-of-functions-in-c","tag-user-defined-functions-in-c","tag-what-are-functions-in-c","tag-why-function-in-c-are-used"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Function in C and C++ [Quiz included] - DataFlair<\/title>\n<meta name=\"description\" content=\"Function in C and C++ are collection of statements that together performs a specific task. Learn syntax and types of Functions avaible and how to declare and define them with examples\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Function in C and C++ [Quiz included] - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Function in C and C++ are collection of statements that together performs a specific task. Learn syntax and types of Functions avaible and how to declare and define them with examples\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-03T08:34:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-14T11:38:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-in-C-and-C.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Function in C and C++ [Quiz included] - DataFlair","description":"Function in C and C++ are collection of statements that together performs a specific task. Learn syntax and types of Functions avaible and how to declare and define them with examples","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/","og_locale":"en_US","og_type":"article","og_title":"Function in C and C++ [Quiz included] - DataFlair","og_description":"Function in C and C++ are collection of statements that together performs a specific task. Learn syntax and types of Functions avaible and how to declare and define them with examples","og_url":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2019-06-03T08:34:52+00:00","article_modified_time":"2021-05-14T11:38:05+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-in-C-and-C.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Function in C and C++ [Quiz included]","datePublished":"2019-06-03T08:34:52+00:00","dateModified":"2021-05-14T11:38:05+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/"},"wordCount":2061,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-in-C-and-C.jpg","keywords":["C Function Arguments","C Function Syntax","C functions","C Functions Tutorial","Function Call Methods","Standard Library Functions in C","Types of Functions in C","User Defined functions in C","What are Functions in C","Why Function in C are used"],"articleSection":["C Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/","url":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/","name":"Function in C and C++ [Quiz included] - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-in-C-and-C.jpg","datePublished":"2019-06-03T08:34:52+00:00","dateModified":"2021-05-14T11:38:05+00:00","description":"Function in C and C++ are collection of statements that together performs a specific task. Learn syntax and types of Functions avaible and how to declare and define them with examples","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-in-C-and-C.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Function-in-C-and-C.jpg","width":802,"height":420,"caption":"Function in C and C++"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/function-in-c-and-cpp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"C Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/c-programming\/"},{"@type":"ListItem","position":3,"name":"Function in C and C++ [Quiz included]"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/57490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=57490"}],"version-history":[{"count":11,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/57490\/revisions"}],"predecessor-version":[{"id":95301,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/57490\/revisions\/95301"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/60935"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=57490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=57490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=57490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}