what will be the output of this program........
main()
{
int a=2,b=4,c=6;
printf("%d");
}
why it gives the value of third variable.
Answer Posted / srinivas
the above question will give the output 0.
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
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?
What is a string?
Explain what is the benefit of using const for declaring constants?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Why does this code crash?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is multidimensional arrays
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What is c basic?
What are the scope of static variables?
How are variables declared in c?
#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); }
please send me the code for multiplying sparse matrix using c
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is the mean of function?