what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answer Posted / bharath s
The answer is Garbage value...
The answer willbe lik -113...Depending upon the compailer
If we declare as..
static char ch;
Then Answer is 0.....
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
What is anagram in c?
How we can insert comments in a c program?
What is c language & why it is used?
What are header files in c programming?
Linked lists -- can you tell me how to check whether a linked list is circular?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
write a c program in such a way that if we enter the today date the output should be next day's date.
Write a code on reverse string and its complexity.
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Explain how many levels deep can include files be nested?
what will be maximum number of comparisons when number of elements are given?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
What is #pragma statements?
How can I implement a delay, or time a users response, with sub-second resolution?
Can you define which header file to include at compile time?