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


Please Help Members By Posting Answers For Below Questions

What is data structure in c language?

599


How can you determine the size of an allocated portion of memory?

736


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1115


What is the scope of global variable in c?

551


What is chain pointer in c?

601






What are the benefits of organizational structure?

568


write a c program for swapping two strings using pointer

2092


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1124


Give me the code of in-order recursive and non-recursive.

884


Does c have function or method?

587


Explain what is the heap?

618


Does sprintf put null character?

599


What are header files in c programming?

653


Why structure is used in c?

585


Define Spanning-Tree Protocol (STP)

638