Can u please send me the exam pattern and also Previous
papers to javed123go@gmail.com
No Answer is Posted For this Question
Be the First to Post Answer
diff between exptected result and requirement?
Explain the priority queues?
Which is the best sort method for library management?
Why we use int main and void main?
What is difference between structure and union with example?
What are function pointers? Provide an example.
Is c weakly typed?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)
1 Answers Bosch, College School Exams Tests,
how can write all 1to 100 prime numbers using for loop,if and break ?
what is pointer?
13 Answers HCL, TCS,
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?