main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
wat is the o/p and how?
Answer Posted / manne ranjith
2 2 2
I compiled this in system,this is correct answer.check it
once...............
Is This Answer Correct ? | 18 Yes | 23 No |
Post New Answer View All Answers
Explain how do you override a defined macro?
explain what is an endless loop?
Explain what is wrong with this program statement?
What does %p mean c?
What is variable and explain rules to declare variable in c?
Where are the auto variables stored?
When should we use pointers in a c program?
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 can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Write the syntax and purpose of a switch statement in C.
How can you access memory located at a certain address?
What are the differences between Structures and Arrays?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?