which is faster execution: loops or recursion?

Answer Posted / saran3589

loops

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of macro in C language?

653


Explain the use of bit fieild.

700


What is structure data type in c?

558


Can we use visual studio for c?

536


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

7379






why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

644


Why clrscr is used in c?

570


What is meant by 'bit masking'?

872


can any one provide me the notes of data structure for ignou cs-62 paper

1692


What is conio h in c?

611


Write a program in c to replace any vowel in a string with z?

680


What are the types of arrays in c?

614


When a c file is executed there are many files that are automatically opened what are they files?

578


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

1948


Can a pointer be static?

607