what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answer Posted / anu
I think it will not give any error and it will print some
garbage value.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain the use of function toupper() with and example code?
Write a Program to find whether the given number or string is palindrome.
Explain high-order bytes.
Does c have enums?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
Differentiate between Macro and ordinary definition.
What are the advantages and disadvantages of a heap?
State the difference between x3 and x[3].
What is volatile c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is the modulus operator?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is main () in c language?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.