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


Please Help Members By Posting Answers For Below Questions

Write a code to remove duplicates in a string.

638


Is c a great language, or what?

615


How many types of operators are there in c?

627


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1910


What is page thrashing?

658






What is a pointer value and address in c?

638


Explain the meaning of keyword 'extern' in a function declaration.

734


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

707


How can I send mail from within a c program?

590


What are the types of data structures in c?

607


Simplify the program segment if X = B then C ← true else C ← false

2592


What is volatile, register definition in C

698


What are run-time errors?

607


Describe explain how arrays can be passed to a user defined function

612


How does #define work?

657