what will be the output for the following program?
main()
{
char ch = 'k';
char c;
printf("%c",c);
}
Answer Posted / sudarsan
no out put
bcz
after declaration, inside the memory
1. a location of 1byte will be reserve for ch
and also for c but the value k be store in ch
and nothing in C.
|----|
|k |ch
|----|
|----|
| |c
|----|
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What does typeof return in c?
Explain how do you view the path?
Explain how can you avoid including a header more than once?
How can I do serial ("comm") port I/O?
What is a class c rental property?
Is that possible to store 32768 in an int data type variable?
Explain what is the benefit of using const for declaring constants?
What is sizeof in c?
What is "Hungarian Notation"?
How is a structure member accessed?
all c language question
Why & is used in scanf in c?
Do you know what are bitwise shift operators in c programming?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Explain #pragma statements.