Answer Posted / annai
=
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we need a structure?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
What is the benefit of using an enum rather than a #define constant?
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?
Write a program to swap two numbers without using third variable?
What are header files and explain what are its uses in c programming?
Explain union.
What is the best style for code layout in c?
Why void main is used in c?
Explain what is a pragma?
I came across some code that puts a (void) cast before each call to printf. Why?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Why doesnt this code work?
Is main a keyword in c?
What are the types of arrays in c?