{"id":2649,"date":"2021-08-28T17:19:45","date_gmt":"2021-08-28T17:19:45","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=2649"},"modified":"2021-09-03T06:01:46","modified_gmt":"2021-09-03T06:01:46","slug":"integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/","title":{"rendered":"Integer a =40, b =35, c=20, d =10 Comment about the output of the following two statements Print a*b\/c-d Print a*b\/(c-d) ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<p class=\"color-pink\">Integer a =40, b =35, c=20, d =10<br \/>\nComment about the output of the following two statements.<\/p>\n<pre>I. Print a*b\/c-d\r\nII. Print a*b\/(c-d)<\/pre>\n<div class=\"row\">\n<div class=\"col-sm-6\">\n<p>A. Differ by 80<\/p>\n<\/div>\n<div class=\"col-sm-6\">\n<p>B. Same<\/p>\n<\/div>\n<div class=\"col-sm-6\">\n<p>C. Differ by 50<\/p>\n<\/div>\n<div class=\"col-sm-6\">\n<p>D. Differ by 160<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3 id=\"answer-a-differ-by-80\"><b>Answer :\u00a0<\/b>A . Differ by 80<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Answer :\u00a0A . Differ by 80<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16505],"tags":[16482,16465,16452,16480,16478,16476,16472,16477,16475,16474,16481,16431,16473,16479,16464,16470],"class_list":["post-2649","post","type-post","status-publish","format-standard","hentry","category-recursion-and-iteration","tag-advantages-of-recursion-in-c","tag-define-recursion-what-are-its-types","tag-recursion-c","tag-recursion-examples","tag-recursion-examples-in-c","tag-recursion-in-c","tag-recursion-in-c-programming","tag-recursion-problems-in-c","tag-recursive-function-in-c","tag-simple-recursion","tag-simple-recursion-example","tag-tcs-ninja-coding-questions-with-answers","tag-types-of-recursion-in-c","tag-what-is-recursion-in-c-explain-with-example","tag-what-will-be-the-output-of-the-following-code-statements-integer-a-10-b","tag-what-will-be-the-output-of-the-following-pseudo-code-statements"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Decision Making Statements in C - Recursion and Iteration - wikitechy<\/title>\n<meta name=\"description\" content=\"Decision Making Statements in C - The if statement alone tells us that if a condition is true it will execute a block of statements\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Decision Making Statements in C - Recursion and Iteration - wikitechy\" \/>\n<meta property=\"og:description\" content=\"Decision Making Statements in C - The if statement alone tells us that if a condition is true it will execute a block of statements\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-28T17:19:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-03T06:01:46+00:00\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/recursion-and-iteration\\\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/recursion-and-iteration\\\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\\\/\"},\"author\":{\"name\":\"Editor\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\"},\"headline\":\"Integer a =40, b =35, c=20, d =10 Comment about the output of the following two statements Print a*b\\\/c-d Print a*b\\\/(c-d) ?\",\"datePublished\":\"2021-08-28T17:19:45+00:00\",\"dateModified\":\"2021-09-03T06:01:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/recursion-and-iteration\\\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\\\/\"},\"wordCount\":51,\"commentCount\":0,\"keywords\":[\"advantages of recursion in c\",\"define recursion what are its types\",\"recursion c\",\"recursion examples\",\"recursion examples in c\",\"recursion in c\",\"recursion in c programming\",\"recursion problems in c\",\"recursive function in c\",\"simple recursion\",\"simple recursion example\",\"TCS Ninja Coding Questions with Answers | TCS Ninja Coding Questions 2021 | TCS Ninja Programming MCQ Questions\",\"types of recursion in c\",\"what is recursion in c explain with example\",\"What will be the output of the following code statements integer a 10 b\",\"what will be the output of the following pseudo-code statements\"],\"articleSection\":[\"Recursion and Iteration\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/recursion-and-iteration\\\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/recursion-and-iteration\\\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\\\/\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/recursion-and-iteration\\\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\\\/\",\"name\":\"Decision Making Statements in C - Recursion and Iteration - wikitechy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\"},\"datePublished\":\"2021-08-28T17:19:45+00:00\",\"dateModified\":\"2021-09-03T06:01:46+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"Decision Making Statements in C - The if statement alone tells us that if a condition is true it will execute a block of statements\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/recursion-and-iteration\\\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/author\\\/editor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Decision Making Statements in C - Recursion and Iteration - wikitechy","description":"Decision Making Statements in C - The if statement alone tells us that if a condition is true it will execute a block of statements","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:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/","og_locale":"en_US","og_type":"article","og_title":"Decision Making Statements in C - Recursion and Iteration - wikitechy","og_description":"Decision Making Statements in C - The if statement alone tells us that if a condition is true it will execute a block of statements","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/","og_site_name":"Wikitechy","article_published_time":"2021-08-28T17:19:45+00:00","article_modified_time":"2021-09-03T06:01:46+00:00","author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/#article","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/"},"author":{"name":"Editor","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"headline":"Integer a =40, b =35, c=20, d =10 Comment about the output of the following two statements Print a*b\/c-d Print a*b\/(c-d) ?","datePublished":"2021-08-28T17:19:45+00:00","dateModified":"2021-09-03T06:01:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/"},"wordCount":51,"commentCount":0,"keywords":["advantages of recursion in c","define recursion what are its types","recursion c","recursion examples","recursion examples in c","recursion in c","recursion in c programming","recursion problems in c","recursive function in c","simple recursion","simple recursion example","TCS Ninja Coding Questions with Answers | TCS Ninja Coding Questions 2021 | TCS Ninja Programming MCQ Questions","types of recursion in c","what is recursion in c explain with example","What will be the output of the following code statements integer a 10 b","what will be the output of the following pseudo-code statements"],"articleSection":["Recursion and Iteration"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/","name":"Decision Making Statements in C - Recursion and Iteration - wikitechy","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"datePublished":"2021-08-28T17:19:45+00:00","dateModified":"2021-09-03T06:01:46+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"Decision Making Statements in C - The if statement alone tells us that if a condition is true it will execute a block of statements","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/recursion-and-iteration\/integer-a-40-b-35-c20-d-10-comment-about-the-output-of-the-following-two-statements-print-ab-c-d-print-ab-c-d\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/2649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=2649"}],"version-history":[{"count":1,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/2649\/revisions"}],"predecessor-version":[{"id":2662,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/2649\/revisions\/2662"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=2649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=2649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=2649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}