Python Related (3312)
PHP Related (7341)
Scala (340)
R Programming (396)
Kotlin (184)
Apache Groovy (39)
Ruby (245)
Go Programming Language (139)
Objective-C (429)
Programming Languages AllOther (746) What will be the output of the following program
#include
what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it
DIT,
5 29089can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.
3550program for reversing a selected line word by word when multiple lines are given without using strrev
IBM,
2495Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
4225In 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]
2493
Define encapsulation in python?
What are the difference between magento 1 & 2?
What does == mean?
What does flush do c++?
What are the differences between python 2.x and python 3.x?
How to create database connection and query in php?
How do I revert to an older version of wordpress?
Which PHP compatibility is used for Drupal?
How can you allocate arrays or structures bigger than 64K?
How is php different from other languages?
Explain the role of modules and mixins in ruby?
How can I prevent another program from modifying part of a file that I am modifying?
How to send a response early in a web application action?
Explain the array representation of a binary tree in C.
How you can update memcached when you make changes to php?