Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Infosys C Interview Questions

Write 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.

3130

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]

1424

1224

c program to compute AREA under integral

1235

1287

to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. The packets are named A, B, C, D, E …….. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,………….].

4659

i got 75% in all semester am i eligible for your company

1250

Write a C program that defines a 2-dimentional integer array called A . Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a, a,a, a, ……..a). Finally, print out how many zeros and ones in the diagonal.

2394

difference between Low, Middle, High Level languages in c ?

1157

Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

134

What is NULL pointer?

137

Write a program to swap two numbers without using a temporary variable?

148

Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

169

What is the meaning of text wrapping?

38

What is a web service in .net?

104

How to create an interface?

138

What is JDBC Savepoint? How to use it?

132

How much can transient transfection expected from Lipofectamine 2000(Invitrogen)?

1442

Test cases for Internal IP Messenger

3143

Is apache spark going to replace hadoop?

27

How to set the current database in ms sql server?

107

What is the difference between throw and throw ex?

64

What is difference between linear and non linear data structure?

82

what about WCT (Work Contract Tax)

1102

What do you understand by a Static Variable?

134

How much is a visual studio subscription?

56

What is php destruct?

73

What do you mean by autowiring in spring?

7