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

How many identifiers are there in c?

584


What is structure data type in c?

574


What is the c language function prototype?

647


which type of aspect you want from the student.

1703


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1432






What is pre-emptive data structure and explain it with example?

3213


What does a pointer variable always consist of?

666


What is null character in c?

692


Why we write conio h in c?

568


What does struct node * mean?

603


What is the difference between if else and switchstatement

1313


Why do we write return 0 in c?

556


What is the advantage of using #define to declare a constant?

624


What is variables in c?

610


What is register variable in c language?

607