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 |
plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.
Are pointers really faster than arrays?
What is the best organizational structure?
Three major criteria of scheduling.
WHAT IS HIGH LEVEL LANGUAGE?
What is indirection in c?
diff between exptected result and requirement?
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }
Why #include is used in c language?
What is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value
Why do we use pointer to pointer in c?
Does * p ++ increment p or what it points to?