Answer Posted / habeeb ahmed
10
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How does free() know explain how much memory to release?
Is c easy to learn?
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?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Explain what is the difference between a free-standing and a hosted environment?
What is the use of a static variable in c?
What are structure members?
What is the Purpose of 'extern' keyword in a function declaration?
Why c is known as a mother language?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Describe the modifier in c?
What is a pointer in c?