what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answers were Sorted based on User's Feedback
Answer / kanmani
I think this program produce some garbage value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vikram
output will be any garbage value since ch is not assigned
any value
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / thirupathi reddy
it doesn't give error
it depends up on compiler u use. but gives some value
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / p.thriveni
it will giv the warning as 'a' is assigned a avalue that
is never be used.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a program to reverse a given number in c language?
what is the self-referential structure?
Can variables be declared anywhere in c?
How do you generate random numbers in C?
Why is a semicolon (;) put at the end of every program statement?
How do you declare a variable that will hold string values?
explain what is an endless loop?
What is time complexity c?
How can I use a preprocessorif expression to ?
WRITE A C PROGRAM FOR PRINT "RHOMBUS" STRUCTURE . Example: Enter the numbers :3 * * * * * * * *
what is the structure?
How many types of operator or there in c?