what will be the output:
main(){char ch;int a=10;printf("%d",ch);}

Answer Posted / sadasiva

It gives compilation warning but not Error.
While running ,gives Run time check error and prints some
garbage value.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use c for the speed of light?

604


What is sizeof array in c?

591


Explain the Difference between the New and Malloc keyword.

684


What is const keyword in c?

741


What are the two forms of #include directive?

642






What are the different categories of functions in c?

641


Which is best linux os?

558


What do you mean by a local block?

627


What is null pointer constant?

592


What is meant by gets in c?

604


What is the difference between new and malloc functions?

574


What is scanf () in c?

659


Explain how do you view the path?

649


Explain how do you declare an array that will hold more than 64kb of data?

899


What does a function declared as pascal do differently?

605