what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answer Posted / sirajuddin
variable ch is of character type and nothing is assigned
to it where as 'a' is of interger type.
In the printf statement we are placing variable 'ch' along
with %d which will display a garbage value.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
How to write c functions that modify head pointer of a linked list?
Explain what are the __date__ and __time__ preprocessor commands?
Explain how can I open a file so that other programs can update it at the same time?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
What is wrong in this statement? scanf(ā%dā,whatnumber);
What does the file stdio.h contain?
What is the difference between array_name and &array_name?
What are the c keywords?
please give me some tips for the placement in the TCS.
What is the use of in c?
What language is lisp written in?
how to introdu5ce my self in serco
diff between exptected result and requirement?
What is #define size in c?